summaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@canonical.com>2010-02-01 21:34:14 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-02-09 08:34:10 -0700
commit50ab2fe147e22c8786552cda1791a61ae81b84d2 (patch)
tree62be0d312fbf7c4806d431e9ec6bc190b0876a46 /fs/proc
parent8cfb3343f70bcf9403218df120ecf345f06dd585 (diff)
downloadlinux-stable-50ab2fe147e22c8786552cda1791a61ae81b84d2.tar.gz
linux-stable-50ab2fe147e22c8786552cda1791a61ae81b84d2.tar.bz2
linux-stable-50ab2fe147e22c8786552cda1791a61ae81b84d2.zip
proc_devtree: include linux/of.h
Currenly, proc_devtree.c depends on asm/prom.h to include linux/of.h, to provide some device-tree definitions (eg, struct property). Instead, include linux/of.h directly. We still need asm/prom.h for HAVE_ARCH_DEVTREE_FIXUPS. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/proc_devtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c
index 2309bf17203f..0ec45110e15e 100644
--- a/fs/proc/proc_devtree.c
+++ b/fs/proc/proc_devtree.c
@@ -10,6 +10,7 @@
#include <linux/seq_file.h>
#include <linux/stat.h>
#include <linux/string.h>
+#include <linux/of.h>
#include <asm/prom.h>
#include <asm/uaccess.h>
#include "internal.h"