Commit a1d22d32 authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 598736c5
...@@ -1439,6 +1439,8 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m ...@@ -1439,6 +1439,8 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m
err = sunsu_kbd_ms_init(up); err = sunsu_kbd_ms_init(up);
if (err) if (err)
goto out_unmap; goto out_unmap;
return 0;
} }
up->port.flags |= UPF_BOOT_AUTOCONF; up->port.flags |= UPF_BOOT_AUTOCONF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment