diff options
| -rw-r--r-- | fs/proc/proc_devtree.c | 3 | ||||
| -rw-r--r-- | fs/proc/proc_sysctl.c | 4 |
2 files changed, 4 insertions, 3 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 @@ | |||
| 4 | * Copyright 1997 Paul Mackerras | 4 | * Copyright 1997 Paul Mackerras |
| 5 | */ | 5 | */ |
| 6 | #include <linux/errno.h> | 6 | #include <linux/errno.h> |
| 7 | #include <linux/init.h> | ||
| 7 | #include <linux/time.h> | 8 | #include <linux/time.h> |
| 8 | #include <linux/proc_fs.h> | 9 | #include <linux/proc_fs.h> |
| 9 | #include <linux/stat.h> | 10 | #include <linux/stat.h> |
| @@ -214,7 +215,7 @@ void proc_device_tree_add_node(struct device_node *np, | |||
| 214 | /* | 215 | /* |
| 215 | * Called on initialization to set up the /proc/device-tree subtree | 216 | * Called on initialization to set up the /proc/device-tree subtree |
| 216 | */ | 217 | */ |
| 217 | void proc_device_tree_init(void) | 218 | void __init proc_device_tree_init(void) |
| 218 | { | 219 | { |
| 219 | struct device_node *root; | 220 | struct device_node *root; |
| 220 | if ( !have_of ) | 221 | if ( !have_of ) |
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 945a81043ba2..41b5063e28d1 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * /proc/sys support | 2 | * /proc/sys support |
| 3 | */ | 3 | */ |
| 4 | 4 | #include <linux/init.h> | |
| 5 | #include <linux/sysctl.h> | 5 | #include <linux/sysctl.h> |
| 6 | #include <linux/proc_fs.h> | 6 | #include <linux/proc_fs.h> |
| 7 | #include <linux/security.h> | 7 | #include <linux/security.h> |
| @@ -395,7 +395,7 @@ static struct dentry_operations proc_sys_dentry_operations = { | |||
| 395 | .d_compare = proc_sys_compare, | 395 | .d_compare = proc_sys_compare, |
| 396 | }; | 396 | }; |
| 397 | 397 | ||
| 398 | int proc_sys_init(void) | 398 | int __init proc_sys_init(void) |
| 399 | { | 399 | { |
| 400 | struct proc_dir_entry *proc_sys_root; | 400 | struct proc_dir_entry *proc_sys_root; |
| 401 | 401 | ||
