tty: pty: correct function name pty_resize()

Fix the following make W=1 kernel build warning:

  drivers/tty/pty.c:307: warning: expecting prototype for pty_do_resize(). Prototype was for pty_resize() instead

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210518045353.611017-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Yang Yingliang 2021-05-18 12:53:53 +08:00 коммит произвёл Greg Kroah-Hartman
Родитель 4503b1c29d
Коммит f6038cf46e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -282,7 +282,7 @@ static void pty_set_termios(struct tty_struct *tty,
}
/**
* pty_do_resize - resize event
* pty_resize - resize event
* @tty: tty being resized
* @ws: window size being set.
*