From: Marc Zyngier Date: Mon, 17 Jul 2006 22:53:32 +0000 (-0700) Subject: [SPARC64] Fix sunsab ports ordering X-Git-Tag: v2.6.18-rc3~73 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=44f2650b134b423128063ded29a11454b924390e;p=linux-2.6-omap-h63xx.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 979497f108c..cb55d81c27d 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]);