diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2006-12-05 23:30:17 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-08 04:55:55 (GMT) |
commit | 885ed0fb484cc2d0a539558edf47a2a7c4fdd664 (patch) | |
tree | 7d15b67cb5813a33be03027bc5d15ad6e6964a31 /arch/powerpc/sysdev | |
parent | be9575af7e8ec9040330f57b974e52d6921c08bb (diff) | |
download | linux-885ed0fb484cc2d0a539558edf47a2a7c4fdd664.tar.xz |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/rom.c b/arch/powerpc/sysdev/rom.c index bf5b3f1..c855a3b 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) { |