mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2024-12-20 02:48:32 +00:00
[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>
This commit is contained in:
parent
253879e62f
commit
d76081f875
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user