diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 405a9035fe40..6abfcf5b5887 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -350,8 +350,6 @@ extern void tty_write_flush(struct tty_struct *); | |||
350 | 350 | ||
351 | extern struct ktermios tty_std_termios; | 351 | extern struct ktermios tty_std_termios; |
352 | 352 | ||
353 | extern int kmsg_redirect; | ||
354 | |||
355 | extern void console_init(void); | 353 | extern void console_init(void); |
356 | extern int vcs_init(void); | 354 | extern int vcs_init(void); |
357 | 355 | ||
@@ -466,7 +464,7 @@ extern int tty_port_alloc_xmit_buf(struct tty_port *port); | |||
466 | extern void tty_port_free_xmit_buf(struct tty_port *port); | 464 | extern void tty_port_free_xmit_buf(struct tty_port *port); |
467 | extern void tty_port_put(struct tty_port *port); | 465 | extern void tty_port_put(struct tty_port *port); |
468 | 466 | ||
469 | extern inline struct tty_port *tty_port_get(struct tty_port *port) | 467 | static inline struct tty_port *tty_port_get(struct tty_port *port) |
470 | { | 468 | { |
471 | if (port) | 469 | if (port) |
472 | kref_get(&port->kref); | 470 | kref_get(&port->kref); |
@@ -488,7 +486,7 @@ extern void tty_port_close(struct tty_port *port, | |||
488 | struct tty_struct *tty, struct file *filp); | 486 | struct tty_struct *tty, struct file *filp); |
489 | extern int tty_port_open(struct tty_port *port, | 487 | extern int tty_port_open(struct tty_port *port, |
490 | struct tty_struct *tty, struct file *filp); | 488 | struct tty_struct *tty, struct file *filp); |
491 | extern inline int tty_port_users(struct tty_port *port) | 489 | static inline int tty_port_users(struct tty_port *port) |
492 | { | 490 | { |
493 | return port->count + port->blocked_open; | 491 | return port->count + port->blocked_open; |
494 | } | 492 | } |