diff options
Diffstat (limited to 'include/linux/proc_fs.h')
| -rw-r--r-- | include/linux/proc_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 32676b35d2f5..3c22538aab66 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
| @@ -127,7 +127,12 @@ extern void pid_ns_release_proc(struct pid_namespace *ns); | |||
| 127 | * proc_tty.c | 127 | * proc_tty.c |
| 128 | */ | 128 | */ |
| 129 | struct tty_driver; | 129 | struct tty_driver; |
| 130 | #ifdef CONFIG_TTY | ||
| 130 | extern void proc_tty_init(void); | 131 | extern void proc_tty_init(void); |
| 132 | #else | ||
| 133 | static inline void proc_tty_init(void) | ||
| 134 | { } | ||
| 135 | #endif | ||
| 131 | extern void proc_tty_register_driver(struct tty_driver *driver); | 136 | extern void proc_tty_register_driver(struct tty_driver *driver); |
| 132 | extern void proc_tty_unregister_driver(struct tty_driver *driver); | 137 | extern void proc_tty_unregister_driver(struct tty_driver *driver); |
| 133 | 138 | ||
