summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 09:49:29 +0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 16:36:18 +0400
commit82c3bd03535f1571426fdd19b7d832f76b7ac85e (patch)
treec5d2a31e0b46045803215b4c9e595322e5cc04a7 /arch/arm/mach-omap1/common.h
parentc633c531f8afbcfd422409c3350b8dc55baa485e (diff)
downloadlinux-82c3bd03535f1571426fdd19b7d832f76b7ac85e.tar.xz
ARM: omap1: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/common.h')
-rw-r--r--arch/arm/mach-omap1/common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index af658ad338ec..0b77e6d68f5f 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -52,8 +52,18 @@ static inline void omap16xx_map_io(void)
}
#endif
+#ifdef CONFIG_OMAP_SERIAL_WAKE
+int omap_serial_wakeup_init(void);
+#else
+static inline int omap_serial_wakeup_init(void)
+{
+ return 0;
+}
+#endif
+
void omap1_init_early(void);
void omap1_init_irq(void);
+void omap1_init_late(void);
void omap1_restart(char, const char *);
extern struct sys_timer omap1_timer;