diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-17 03:07:44 +0200 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 11:32:31 +0200 |
commit | 1e0edd3f67d5b5c04ef6c0908aac8bd70dffc6f6 (patch) | |
tree | e2b7c1f2b3ecfeed13f53fa940e5f41062dca347 /fs/proc/proc_devtree.c | |
parent | proc: proc_init_inodecache() can't fail (diff) | |
download | linux-1e0edd3f67d5b5c04ef6c0908aac8bd70dffc6f6.tar.xz linux-1e0edd3f67d5b5c04ef6c0908aac8bd70dffc6f6.zip |
proc: spread __init
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc/proc_devtree.c')
-rw-r--r-- | fs/proc/proc_devtree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index eca471bc8512..d777789b7a89 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c @@ -4,6 +4,7 @@ * Copyright 1997 Paul Mackerras */ #include <linux/errno.h> +#include <linux/init.h> #include <linux/time.h> #include <linux/proc_fs.h> #include <linux/stat.h> @@ -214,7 +215,7 @@ void proc_device_tree_add_node(struct device_node *np, /* * Called on initialization to set up the /proc/device-tree subtree */ -void proc_device_tree_init(void) +void __init proc_device_tree_init(void) { struct device_node *root; if ( !have_of ) |