proc: spread __init

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
Alexey Dobriyan
2008-10-17 05:07:44 +04:00
parent 5bcd7ff9e1
commit 1e0edd3f67
2 changed files with 4 additions and 3 deletions

View File

@@ -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 )