Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IRDA]: Make ircomm_tty static.

ircomm_tty can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Adrian Bunk and committed by
David S. Miller
d76081f8 253879e6

+1 -2
-1
include/net/irda/ircomm_tty.h
··· 127 127 unsigned int cmd, unsigned long arg); 128 128 extern void ircomm_tty_set_termios(struct tty_struct *tty, 129 129 struct ktermios *old_termios); 130 - extern hashbin_t *ircomm_tty; 131 130 132 131 #endif 133 132
+1 -1
net/irda/ircomm/ircomm_tty.c
··· 77 77 #endif /* CONFIG_PROC_FS */ 78 78 static struct tty_driver *driver; 79 79 80 - hashbin_t *ircomm_tty = NULL; 80 + static hashbin_t *ircomm_tty = NULL; 81 81 82 82 static const struct tty_operations ops = { 83 83 .open = ircomm_tty_open,