[SERIAL] sunsu: Missing return statement in su_probe().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Jun 2006 02:40:19 +0000 (19:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Jun 2006 21:13:34 +0000 (14:13 -0700)
If we have a keyboard/mouse port, don't drop through to
calling sunsu_autoconfig().

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsu.c

index 73a043b914ef61a1f32b3e9d35b9d9e3e595af98..5442792c6c72fb2960fa35983538f9987cde819a 100644 (file)
@@ -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;