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: v2.6.20-rc1~146^2~14^2~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=885ed0fb484cc2d0a539558edf47a2a7c4fdd664;p=linux-2.6 [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 bf5b3f10e6..c855a3b298 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) {