proc: Move some bits from linux/proc_fs.h to linux/{of.h,signal.h,tty.h}
[~shefty/rdma-dev.git] / include / linux / tty.h
index c75d886..e014fb1 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