]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/sunsab.c
[SERIAL] sunsab: Fix significant typo in sab_probe()
[linux-2.6-omap-h63xx.git] / drivers / serial / sunsab.c
index 0dbd4df44c05140499f03bbcb8e2d33be236d3fa..979497f108c8678511dd44a7112664d3a8f817d0 100644 (file)
@@ -1052,7 +1052,7 @@ static int __devinit sab_probe(struct of_device *op, const struct of_device_id *
        if (err)
                return err;
 
-       err = sunsab_init_one(&up[0], op, 0,
+       err = sunsab_init_one(&up[1], op, 0,
                              (inst * 2) + 1);
        if (err) {
                of_iounmap(up[0].port.membase,