aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2006-12-05 15:30:17 -0800
committerPaul Mackerras <paulus@samba.org>2006-12-08 15:55:55 +1100
commit885ed0fb484cc2d0a539558edf47a2a7c4fdd664 (patch)
tree7d15b67cb5813a33be03027bc5d15ad6e6964a31 /arch/powerpc/sysdev
parentbe9575af7e8ec9040330f57b974e52d6921c08bb (diff)
[POWERPC] powerpc: fix build error in rom.c
Add missing include in rom.c. Fixes this build error when CONFIG_MTD=y: arch/powerpc/sysdev/rom.c:26: error: implicit declaration of function of_platform_device_create Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/rom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/rom.c b/arch/powerpc/sysdev/rom.c
index bf5b3f10e6c..c855a3b298a 100644
--- a/arch/powerpc/sysdev/rom.c
+++ b/arch/powerpc/sysdev/rom.c
@@ -9,6 +9,7 @@
#include <linux/kernel.h>
#include <asm/of_device.h>
+#include <asm/of_platform.h>
static int __init powerpc_flash_init(void)
{