projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.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
|
history
diff --git
a/arch/powerpc/sysdev/rom.c
b/arch/powerpc/sysdev/rom.c
index
bf5b3f1
..
c855a3b
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)
{