]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/proc/proc_devtree.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / fs / proc / proc_devtree.c
index 123257bb356b38bc8fe614b101a2354a24c82e47..ce94801f48cafefce01dcc37da6f0037b77de3e5 100644 (file)
 #include <linux/seq_file.h>
 #include <linux/stat.h>
 #include <linux/string.h>
+#include <linux/of.h>
+#include <linux/module.h>
+#include <linux/slab.h>
 #include <asm/prom.h>
 #include <asm/uaccess.h>
 #include "internal.h"
 
-#ifndef HAVE_ARCH_DEVTREE_FIXUPS
 static inline void set_node_proc_entry(struct device_node *np,
                                       struct proc_dir_entry *de)
 {
-}
+#ifdef HAVE_ARCH_DEVTREE_FIXUPS
+       np->pde = de;
 #endif
+}
 
 static struct proc_dir_entry *proc_device_tree;