mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
tty: xtensa/iss, make rs_init static
To fix the warning: warning: no previous prototype for 'rs_init' Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: linux-xtensa@linux-xtensa.org Acked-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210302062214.29627-33-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5a1a8425c4
commit
ba444ea3bc
|
|
@ -141,7 +141,7 @@ static const struct tty_operations serial_ops = {
|
|||
.proc_show = rs_proc_show,
|
||||
};
|
||||
|
||||
int __init rs_init(void)
|
||||
static int __init rs_init(void)
|
||||
{
|
||||
tty_port_init(&serial_port);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user