summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-12 02:29:19 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-01 17:29:40 -0400
commit34db8aaf0f95ffac407d39da22972b38da631db4 (patch)
treedd9e9cf4e7882a800ad0d3b7bb1ea9ae4d4515cd /fs
parent4abfd0298900851930310e5d736a7f3a105089ec (diff)
downloadblackbird-op-linux-34db8aaf0f95ffac407d39da22972b38da631db4.tar.gz
blackbird-op-linux-34db8aaf0f95ffac407d39da22972b38da631db4.zip
proc: Move some bits from linux/proc_fs.h to linux/{of.h,signal.h,tty.h}
Move some bits from linux/proc_fs.h to linux/of.h, signal.h and tty.h. Also move proc_tty_init() and proc_device_tree_init() to fs/proc/internal.h as they're internal to procfs. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> cc: devicetree-discuss@lists.ozlabs.org cc: linux-arch@vger.kernel.org cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> cc: Jri Slaby <jslaby@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 32d8f510d65c..c529b5f16ee4 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -198,3 +198,19 @@ extern const struct inode_operations proc_ns_dir_inode_operations;
extern const struct file_operations proc_ns_dir_operations;
extern int proc_setup_self(struct super_block *);
+
+/*
+ * proc_devtree.c
+ */
+#ifdef CONFIG_PROC_DEVICETREE
+extern void proc_device_tree_init(void);
+#endif /* CONFIG_PROC_DEVICETREE */
+
+/*
+ * proc_tty.c
+ */
+#ifdef CONFIG_TTY
+extern void proc_tty_init(void);
+#else
+static inline void proc_tty_init(void) {}
+#endif
OpenPOWER on IntegriCloud