From: Geoff Levand Date: Tue, 5 Dec 2006 23:30:17 +0000 (-0800) Subject: [POWERPC] powerpc: fix build error in rom.c X-Git-Tag: MMI-PSA29.97-13-9~45878^2~15^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=885ed0fb484cc2d0a539558edf47a2a7c4fdd664;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: Paul Mackerras --- 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 #include +#include static int __init powerpc_flash_init(void) {