projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9575a
)
[POWERPC] powerpc: fix build error in rom.c
author
Geoff Levand
<geoffrey.levand@am.sony.com>
Tue, 5 Dec 2006 23:30:17 +0000
(15:30 -0800)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/rom.c
b/arch/powerpc/sysdev/rom.c
index bf5b3f10e6c600099011cab1ab9f0ccbd221a635..c855a3b298a3f253af247c949db8813622b47ba9 100644
(file)
--- 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)
{