diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2006-12-06 00:30:17 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-08 05:55:55 +0100 |
commit | 885ed0fb484cc2d0a539558edf47a2a7c4fdd664 (patch) | |
tree | 7d15b67cb5813a33be03027bc5d15ad6e6964a31 /arch/powerpc/sysdev | |
parent | [POWERPC] cell: Fix spu_info.h header export (diff) | |
download | linux-885ed0fb484cc2d0a539558edf47a2a7c4fdd664.tar.xz linux-885ed0fb484cc2d0a539558edf47a2a7c4fdd664.zip |
[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 bf5b3f10e6c6..c855a3b298a3 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) { |