diff options
author | David Howells <dhowells@redhat.com> | 2013-04-11 21:29:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-01 17:29:40 -0400 |
commit | 34db8aaf0f95ffac407d39da22972b38da631db4 (patch) | |
tree | dd9e9cf4e7882a800ad0d3b7bb1ea9ae4d4515cd /fs | |
parent | 4abfd0298900851930310e5d736a7f3a105089ec (diff) |
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.h | 16 |
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; | |||
198 | extern const struct file_operations proc_ns_dir_operations; | 198 | extern const struct file_operations proc_ns_dir_operations; |
199 | 199 | ||
200 | extern int proc_setup_self(struct super_block *); | 200 | extern int proc_setup_self(struct super_block *); |
201 | |||
202 | /* | ||
203 | * proc_devtree.c | ||
204 | */ | ||
205 | #ifdef CONFIG_PROC_DEVICETREE | ||
206 | extern void proc_device_tree_init(void); | ||
207 | #endif /* CONFIG_PROC_DEVICETREE */ | ||
208 | |||
209 | /* | ||
210 | * proc_tty.c | ||
211 | */ | ||
212 | #ifdef CONFIG_TTY | ||
213 | extern void proc_tty_init(void); | ||
214 | #else | ||
215 | static inline void proc_tty_init(void) {} | ||
216 | #endif | ||