diff options
Diffstat (limited to 'fs/proc/proc_devtree.c')
-rw-r--r-- | fs/proc/proc_devtree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index 123257bb356b..2309bf17203f 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c | |||
@@ -14,12 +14,13 @@ | |||
14 | #include <asm/uaccess.h> | 14 | #include <asm/uaccess.h> |
15 | #include "internal.h" | 15 | #include "internal.h" |
16 | 16 | ||
17 | #ifndef HAVE_ARCH_DEVTREE_FIXUPS | ||
18 | static inline void set_node_proc_entry(struct device_node *np, | 17 | static inline void set_node_proc_entry(struct device_node *np, |
19 | struct proc_dir_entry *de) | 18 | struct proc_dir_entry *de) |
20 | { | 19 | { |
21 | } | 20 | #ifdef HAVE_ARCH_DEVTREE_FIXUPS |
21 | np->pde = de; | ||
22 | #endif | 22 | #endif |
23 | } | ||
23 | 24 | ||
24 | static struct proc_dir_entry *proc_device_tree; | 25 | static struct proc_dir_entry *proc_device_tree; |
25 | 26 | ||