diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-04-26 01:49:29 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 08:36:18 -0400 |
commit | 82c3bd03535f1571426fdd19b7d832f76b7ac85e (patch) | |
tree | c5d2a31e0b46045803215b4c9e595322e5cc04a7 /arch/arm/mach-omap1/serial.c | |
parent | c633c531f8afbcfd422409c3350b8dc55baa485e (diff) |
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/serial.c')
-rw-r--r-- | arch/arm/mach-omap1/serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/serial.c b/arch/arm/mach-omap1/serial.c index 93ae8f29727e..6809c9e56c93 100644 --- a/arch/arm/mach-omap1/serial.c +++ b/arch/arm/mach-omap1/serial.c | |||
@@ -237,7 +237,7 @@ static void __init omap_serial_set_port_wakeup(int gpio_nr) | |||
237 | enable_irq_wake(gpio_to_irq(gpio_nr)); | 237 | enable_irq_wake(gpio_to_irq(gpio_nr)); |
238 | } | 238 | } |
239 | 239 | ||
240 | static int __init omap_serial_wakeup_init(void) | 240 | int __init omap_serial_wakeup_init(void) |
241 | { | 241 | { |
242 | if (!cpu_is_omap16xx()) | 242 | if (!cpu_is_omap16xx()) |
243 | return 0; | 243 | return 0; |
@@ -251,7 +251,6 @@ static int __init omap_serial_wakeup_init(void) | |||
251 | 251 | ||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |
254 | late_initcall(omap_serial_wakeup_init); | ||
255 | 254 | ||
256 | #endif /* CONFIG_OMAP_SERIAL_WAKE */ | 255 | #endif /* CONFIG_OMAP_SERIAL_WAKE */ |
257 | 256 | ||