diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2006-12-05 18:30:17 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-07 23:55:55 -0500 |
commit | 885ed0fb484cc2d0a539558edf47a2a7c4fdd664 (patch) | |
tree | 7d15b67cb5813a33be03027bc5d15ad6e6964a31 /arch/powerpc | |
parent | be9575af7e8ec9040330f57b974e52d6921c08bb (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')
-rw-r--r-- | arch/powerpc/sysdev/rom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/rom.c b/arch/powerpc/sysdev/rom.c index bf5b3f10e6c6..c855a3b298a3 100644 --- a/arch/powerpc/sysdev/rom.c +++ b/arch/powerpc/sysdev/rom.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <asm/of_device.h> | 11 | #include <asm/of_device.h> |
12 | #include <asm/of_platform.h> | ||
12 | 13 | ||
13 | static int __init powerpc_flash_init(void) | 14 | static int __init powerpc_flash_init(void) |
14 | { | 15 | { |