diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-14 15:40:20 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-14 15:40:49 -0800 |
commit | 3e16f92536334ccb464ed88cf4d8cc0dd43da106 (patch) | |
tree | 0ad6d2c96672cae89d339d0305e8001cde2833c7 /arch/arm/plat-omap/include/plat/serial.h | |
parent | 44dc046e93eb98d41048954f700b1927f7e288ed (diff) |
omap2+: Fix omap_serial_early_init to work with init_early hook
The new init_early hook happens at the end of setup_arch,
which is too early for kzalloc. However, there's no need
to call omap_serial_early_init that early, so fix this
by setting it up as a core_initcall.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/serial.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/serial.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h index cec5d56db2e..a1a118d052e 100644 --- a/arch/arm/plat-omap/include/plat/serial.h +++ b/arch/arm/plat-omap/include/plat/serial.h @@ -96,7 +96,6 @@ struct omap_board_data; -extern void __init omap_serial_early_init(void); extern void omap_serial_init(void); extern void omap_serial_init_port(struct omap_board_data *bdata); extern int omap_uart_can_sleep(void); |