make ircomm_tty static
Subsystems (2)
PATCH 1/1 make ircomm_tty static
ircomm_tty can now become static.
Signed-off-by Adrian Bunk <[email protected]>
---
include/net/irda/ircomm_tty.h | 1 - net/irda/ircomm/ircomm_tty.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
487bdc857155e7346cbb80b07d2ec3df150fc9d2
include/net/irda/ircomm_tty.h +0 -1
@@ -127,7 +127,6 @@ extern int ircomm_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg);extern void ircomm_tty_set_termios (struct tty_struct *tty,struct ktermios *old_termios); -extern hashbin_t *ircomm_tty;#endif
net/irda/ircomm/ircomm_tty.c +1 -1
@@ -77,7 +77,7 @@ static int ircomm_tty_read_proc(char *buf, char **start, off_t offset, int len,#endif /* CONFIG_PROC_FS */ static struct tty_driver *driver; -hashbin_t *ircomm_tty =NULL ; +static hashbin_t *ircomm_tty =NULL ;static const struct tty_operations ops = { .open = ircomm_tty_open,
From: Adrian Bunk <[email protected]>
Date: Wed, 24 Oct 2007 18:23:55 +0200
Quoted 3 lines
ircomm_ttycan now become static.Signed-off-by Adrian Bunk <[email protected]>
Applied.