diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-23 18:53:39 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-23 18:53:39 -0400 |
commit | b8b99e857d0e258b0da17e55466e5142465d35fd (patch) | |
tree | 7cae85965f21792664506e9f85f2a983ee0ee53d | |
parent | 0f4184f73d5233214d3225a94fcf1bd4d6678d74 (diff) |
[SERIAL] sunzilog: Mirror the sunsab serial setup bug fix.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/serial/sunzilog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 47bc3d57e019..d34f336d53d8 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c | |||
@@ -1146,6 +1146,9 @@ static int __init sunzilog_console_setup(struct console *con, char *options) | |||
1146 | unsigned long flags; | 1146 | unsigned long flags; |
1147 | int baud, brg; | 1147 | int baud, brg; |
1148 | 1148 | ||
1149 | if (up->port.type != PORT_SUNZILOG) | ||
1150 | return -1; | ||
1151 | |||
1149 | printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n", | 1152 | printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n", |
1150 | (sunzilog_reg.minor - 64) + con->index, con->index); | 1153 | (sunzilog_reg.minor - 64) + con->index, con->index); |
1151 | 1154 | ||