Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=885ed0fb484cc2d0a539558edf47a2a7c4fdd664
Commit:     885ed0fb484cc2d0a539558edf47a2a7c4fdd664
Parent:     be9575af7e8ec9040330f57b974e52d6921c08bb
Author:     Geoff Levand <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 5 15:30:17 2006 -0800
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Dec 8 15:55:55 2006 +1100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/sysdev/rom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/sysdev/rom.c b/arch/powerpc/sysdev/rom.c
index bf5b3f1..c855a3b 100644
--- 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)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to