[PATCH] powerpc: reduce code duplication in legacy_serial, add UART parent types
Kumar Gala
galak at kernel.crashing.org
Fri Jan 25 19:17:08 EST 2008
> From: Paul Gortmaker <paul.gortmaker at windriver.com>
> Date: Thu, 24 Jan 2008 11:59:12 -0500
> Subject: [PATCH] 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 at windriver.com>
> ---
> arch/powerpc/kernel/legacy_serial.c | 45 +++++++++++++---------------------
> 1 files changed, 17 insertions(+), 28 deletions(-)
>
applied
- k
More information about the Linuxppc-dev
mailing list