tty: pty: correct function name pty_resize()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 18 May 2021 04:53:53 +0000 (12:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 14:33:06 +0000 (16:33 +0200)
commitf6038cf46e376e21a689605e64ab5152e673ac7e
tree1b246407a820412e4965acc9dbe21a64ced665cf
parent4503b1c29db414de608e62d7c67753be8926b2fa
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>
drivers/tty/pty.c