Skip to content

Commit

Permalink
[IRDA]: Make ircomm_tty static.
Browse files Browse the repository at this point in the history
ircomm_tty can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Oct 26, 2007
1 parent 253879e commit d76081f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/net/irda/ircomm_tty.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion net/irda/ircomm/ircomm_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d76081f

Please sign in to comment.