[POWERPC] Reduce code duplication in legacy_serial, add UART parent types
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 24 Jan 2008 16:59:12 +0000 (11:59 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jan 2008 14:30:45 +0000 (08:30 -0600)
commit1a7507c7da2df6856e085e0fbb0c9ea8c12ac4e2
tree454012d6ab76dc5f9607f1080b0ad8a89aba19d1
parentca956f0ea8baa6365b5e39d16373f430e12a030d
[POWERPC] Reduce code duplication in legacy_serial, add UART parent types

The legacy_serial was treating each UART parent in a separate code block.
Rather than continue this trend for the new parent IDs, this condenses
all (soc, tsi, opb, plus two more new types) into one of_device_id array.
The new types are wrs,epld-localbus for the Wind River sbc8560, and a
more generic "simple-bus" as requested by Scott Wood.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/legacy_serial.c