Skip to content

Commit

Permalink
[SERIAL] sunsu: Missing return statement in su_probe().
Browse files Browse the repository at this point in the history
If we have a keyboard/mouse port, don't drop through to
calling sunsu_autoconfig().

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 30, 2006
1 parent 598736c commit a1d22d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/serial/sunsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
if (err)
goto out_unmap;

return 0;
}

up->port.flags |= UPF_BOOT_AUTOCONF;
Expand Down

0 comments on commit a1d22d3

Please sign in to comment.