[ARM] pxa: remove machine class specific stuffs from serial driver
authorEric Miao <eric.miao@marvell.com>
Wed, 14 Jan 2009 11:12:42 +0000 (19:12 +0800)
committerEric Miao <eric.miao@marvell.com>
Mon, 9 Mar 2009 13:22:38 +0000 (21:22 +0800)
commit290a5589ce83540d0aba811c3d15af34aa373533
tree74090c67fd47cab9ec444d25ed9e3b50f828d393
parent0807da5938b2d64fef7f1109fb4014de6392cbf7
[ARM] pxa: remove machine class specific stuffs from serial driver

The only things prevent drivers/serial/pxa.c from being generic enough
are:

  1. IER_UUE which can be safely replaced by UART_IER_UUE as defined in
     serial_reg.h for PXA

  2. __PREG() and FFUART/BTUART/STUART definitions to decide the UART
     port name

And removed the un-necessary #include of <mach/...> and <asm/...> headers.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
drivers/serial/pxa.c