提交 d76081f8 编写于 作者: A Adrian Bunk 提交者: David S. Miller

[IRDA]: Make ircomm_tty static.

ircomm_tty can now become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 253879e6
...@@ -127,7 +127,6 @@ extern int ircomm_tty_ioctl(struct tty_struct *tty, struct file *file, ...@@ -127,7 +127,6 @@ extern int ircomm_tty_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg); unsigned int cmd, unsigned long arg);
extern void ircomm_tty_set_termios(struct tty_struct *tty, extern void ircomm_tty_set_termios(struct tty_struct *tty,
struct ktermios *old_termios); struct ktermios *old_termios);
extern hashbin_t *ircomm_tty;
#endif #endif
......
...@@ -77,7 +77,7 @@ static int ircomm_tty_read_proc(char *buf, char **start, off_t offset, int len, ...@@ -77,7 +77,7 @@ static int ircomm_tty_read_proc(char *buf, char **start, off_t offset, int len,
#endif /* CONFIG_PROC_FS */ #endif /* CONFIG_PROC_FS */
static struct tty_driver *driver; static struct tty_driver *driver;
hashbin_t *ircomm_tty = NULL; static hashbin_t *ircomm_tty = NULL;
static const struct tty_operations ops = { static const struct tty_operations ops = {
.open = ircomm_tty_open, .open = ircomm_tty_open,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册