diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 22:40:19 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-30 17:13:34 -0400 |
commit | a1d22d3258aed732e1778ecb2e840e6c95cb668e (patch) | |
tree | 8aade70dd6833842d8e9ec1964f694293816e93d /drivers | |
parent | 598736c55622f7ea65b98f93c825ff95c433877c (diff) |
[SERIAL] sunsu: Missing return statement in su_probe().
If we have a keyboard/mouse port, don't drop through to
calling sunsu_autoconfig().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/sunsu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index 73a043b914ef..5442792c6c72 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c | |||
@@ -1439,6 +1439,8 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m | |||
1439 | err = sunsu_kbd_ms_init(up); | 1439 | err = sunsu_kbd_ms_init(up); |
1440 | if (err) | 1440 | if (err) |
1441 | goto out_unmap; | 1441 | goto out_unmap; |
1442 | |||
1443 | return 0; | ||
1442 | } | 1444 | } |
1443 | 1445 | ||
1444 | up->port.flags |= UPF_BOOT_AUTOCONF; | 1446 | up->port.flags |= UPF_BOOT_AUTOCONF; |