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.
#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>
#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;
static int __init omap_init(void)
{
+#ifdef CONFIG_PM
omap_serial_wakeup_init();
+#endif
return platform_device_register(&serial_device);
}
arch_initcall(omap_init);