]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/tty.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / include / linux / tty.h
index 367a9dfc4ea2464c35ffe8c773c5cb8f04e3df86..7e92bd86a808cfbdf31bf38f1165ab30fe93c2ff 100644 (file)
@@ -691,5 +691,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