]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: problem on compiling omap730 with kernel 2.6 from git
authorMartin Fouts <Martin.Fouts@palmsource.com>
Mon, 1 Aug 2005 12:48:36 +0000 (05:48 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 1 Aug 2005 12:48:36 +0000 (05:48 -0700)
This is a configuration bug in arch/arm/mach-omap/omap1/serial.c.  There
are two lines that need to be protected by #ifdef CONFIG_PM.

arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/serial.c

index 1eff0e1c3678f87c336b09528b20eb5089ed5564..107c68c8ab54b796fe7f5271adb11a40c52de760 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/mach/flash.h>
 #include <asm/mach/map.h>
 
+#include <asm/arch/tc.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/mux.h>
 #include <asm/arch/fpga.h>
index 59ec5e157112bdb48ed1a8415c32f9010d8dd1e6..2bef59aee51e0ca7b66522c62874939b0b51a050 100644 (file)
@@ -26,7 +26,9 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/fpga.h>
+#ifdef CONFIG_PM
 #include <asm/arch/pm.h>
+#endif
 
 static struct clk * uart1_ck = NULL;
 static struct clk * uart2_ck = NULL;
@@ -274,7 +276,9 @@ static void __init omap_serial_wakeup_init(void)
 
 static int __init omap_init(void)
 {
+#ifdef CONFIG_PM
        omap_serial_wakeup_init();
+#endif
        return platform_device_register(&serial_device);
 }
 arch_initcall(omap_init);