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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user