aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/sunsab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c
index 979497f..cb55d81 100644
--- a/drivers/serial/sunsab.c
+++ b/drivers/serial/sunsab.c
@@ -1061,8 +1061,8 @@ static int __devinit sab_probe(struct of_device *op, const struct of_device_id *
return err;
}
- uart_add_one_port(&sunsab_reg, &up[0].port);
uart_add_one_port(&sunsab_reg, &up[1].port);
+ uart_add_one_port(&sunsab_reg, &up[0].port);
dev_set_drvdata(&op->dev, &up[0]);