]> err.no Git - linux-2.6/commitdiff
[POWERPC] powerpc: fix build error in rom.c
authorGeoff Levand <geoffrey.levand@am.sony.com>
Tue, 5 Dec 2006 23:30:17 +0000 (15:30 -0800)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Dec 2006 04:55:55 +0000 (15:55 +1100)
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>
arch/powerpc/sysdev/rom.c

index bf5b3f10e6c600099011cab1ab9f0ccbd221a635..c855a3b298a3f253af247c949db8813622b47ba9 100644 (file)
@@ -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)
 {