proc_devtree: include linux/of.h
authorJeremy Kerr <jeremy.kerr@canonical.com>
Tue, 2 Feb 2010 04:34:14 +0000 (21:34 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 9 Feb 2010 15:34:10 +0000 (08:34 -0700)
commit50ab2fe147e22c8786552cda1791a61ae81b84d2
tree62be0d312fbf7c4806d431e9ec6bc190b0876a46
parent8cfb3343f70bcf9403218df120ecf345f06dd585
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>
fs/proc/proc_devtree.c