diff options
author | Mika Westerberg <ext-mika.1.westerberg@nokia.com> | 2009-12-11 16:16:35 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 16:16:35 -0800 |
commit | f62349ee9788b1d94c55eb6c291d74a1f69bdd9e (patch) | |
tree | 193154ad405a30910684c5521b797908db4e5dc9 /arch/arm/plat-omap | |
parent | edc961a2fa51cf3fceba8df8bb52c7a048e4661b (diff) | |
download | linux-3.10-f62349ee9788b1d94c55eb6c291d74a1f69bdd9e.tar.gz linux-3.10-f62349ee9788b1d94c55eb6c291d74a1f69bdd9e.tar.bz2 linux-3.10-f62349ee9788b1d94c55eb6c291d74a1f69bdd9e.zip |
OMAP3: serial - allow platforms specify which UARTs to initialize
This patch adds new function: omap_serial_init_port(port) that can be
used to initialize only selected UARTs as serial ports. Platforms can
then in their board files call this function instead of omap_serial_init()
if they don't want to use all UARTs as serial ports.
Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h index 9951345a25d..f5a4a92393e 100644 --- a/arch/arm/plat-omap/include/plat/serial.h +++ b/arch/arm/plat-omap/include/plat/serial.h @@ -53,6 +53,7 @@ #ifndef __ASSEMBLER__ extern void __init omap_serial_early_init(void); extern void omap_serial_init(void); +extern void omap_serial_init_port(int port); extern int omap_uart_can_sleep(void); extern void omap_uart_check_wakeup(void); extern void omap_uart_prepare_suspend(void); |