From: Marc Zyngier Date: Mon, 17 Jul 2006 22:53:32 +0000 (-0700) Subject: [SPARC64] Fix sunsab ports ordering X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=44f2650b134b423128063ded29a11454b924390e;p=openwrt%2Fstaging%2Fblogic.git [SPARC64] Fix sunsab ports ordering Register second SAB port before the first one, as serial A is wired to it, and expected to appear as ttyS0. Signed-off-by: Marc Zyngier Signed-off-by: David S. Miller --- diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 979497f108c8..cb55d81c27d9 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]);