MIPS: RB532: Detect uart type, add platform device
authorPhil Sutter <n0-1@freewrt.org>
Thu, 15 Jan 2009 14:38:38 +0000 (15:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:33:00 +0000 (21:33 +0000)
commit1452fc7d178c37c6463c95c5cc6858c7b7f478c8
tree11087b5300be36da1b1fa851c740a4d85c8da20f
parent84c2c562c101bd84ea0f796b9838296da1bf859e
MIPS: RB532: Detect uart type, add platform device

Auto-detection works just fine, so use it instead of specifying the type
manually. Also define a platform device for the uart, as suggested by
David Daney.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/devices.c
arch/mips/rb532/serial.c