ARM: mx23: dynamically allocate mx23 auart device
authorShawn Guo <shawn.guo@freescale.com>
Thu, 17 Feb 2011 06:28:50 +0000 (14:28 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 17 Feb 2011 11:03:10 +0000 (12:03 +0100)
i.MX23 Reference Manaul starts auart index from 1 than 0.  Changing
the index to start from 0 requires corresponding changes on base
address, irq, and iomux definitions, and will probably confuse people
who reads codes and hardware documents together.

This patch introduced the field 'hwid' to distinguish the driver id
and controller id.  These two ids are different on mx23 while
identical on mx28.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found