[IRDA]: Make ircomm_tty static.
authorAdrian Bunk <bunk@kernel.org>
Fri, 26 Oct 2007 10:56:43 +0000 (03:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2007 10:56:43 +0000 (03:56 -0700)
ircomm_tty can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/irda/ircomm_tty.h
net/irda/ircomm/ircomm_tty.c

index 8dabdd603fe158782de0adbcad9988df3eaed51b..eea2e615238903340082f7189d2195757246e1e5 100644 (file)
@@ -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
 
index 3d241e415a2ae67f25f9854090c1c6723b8cedf2..1120b150e21191187fee038ece62bc856caf9e97 100644 (file)
@@ -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,