proc: Move some bits from linux/proc_fs.h to linux/{of.h,signal.h,tty.h}
[linux-block.git] / include / linux / tty.h
index c75d886b03078dce545a10ea83ac654e0a4335c4..e014fb1a84bd1a27658d69f09c2eeef1b51988fd 100644 (file)
@@ -658,5 +658,12 @@ do {                                                                       \
        finish_wait(&wq, &__wait);                                      \
 } while (0)
 
+#ifdef CONFIG_PROC_FS
+extern void proc_tty_register_driver(struct tty_driver *);
+extern void proc_tty_unregister_driver(struct tty_driver *);
+#else
+static inline void proc_tty_register_driver(struct tty_driver *d) {}
+static inline void proc_tty_unregister_driver(struct tty_driver *d) {}
+#endif
 
 #endif