diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-07-31 03:38:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:41 -0400 |
commit | a95d32094c6564c3be62ef6b396b24ced564932f (patch) | |
tree | 02dae934b5bf46e6d97a16077383b4a72b82bc1c | |
parent | a24ac9fba1d122ce2536d23b8f4c47a17b7d0627 (diff) |
serial: fix vr41xx_siu interface select
only PORT_VR41XX_SIU can select interface.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/serial/vr41xx_siu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/vr41xx_siu.c b/drivers/serial/vr41xx_siu.c index aa382e2ea397..0b350971fd32 100644 --- a/drivers/serial/vr41xx_siu.c +++ b/drivers/serial/vr41xx_siu.c | |||
@@ -800,7 +800,8 @@ static int __init siu_console_setup(struct console *con, char *options) | |||
800 | port->membase = ioremap(port->mapbase, siu_port_size(port)); | 800 | port->membase = ioremap(port->mapbase, siu_port_size(port)); |
801 | } | 801 | } |
802 | 802 | ||
803 | vr41xx_select_siu_interface(SIU_INTERFACE_RS232C); | 803 | if (port->type == PORT_VR41XX_SIU) |
804 | vr41xx_select_siu_interface(SIU_INTERFACE_RS232C); | ||
804 | 805 | ||
805 | if (options != NULL) | 806 | if (options != NULL) |
806 | uart_parse_options(options, &baud, &parity, &bits, &flow); | 807 | uart_parse_options(options, &baud, &parity, &bits, &flow); |