aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-w90x900/mach-w90p910evb.c
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-02-04 05:01:38 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-10 11:24:21 +0000
commit17198f2d681d34b3376f3a55b2837e56062c2439 (patch)
tree9d9f87f3bf08c530ef18251e04a50ec16d6633ea /arch/arm/mach-w90x900/mach-w90p910evb.c
parentb74788d8c118a48585ad5342560e0aea6ed0ccd4 (diff)
[ARM] 5374/1: The w90p910 uart0 driver patch
Add W90P910 UART0 support,the W90P910 UART0 is 8250 series. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/mach-w90p910evb.c')
-rw-r--r--arch/arm/mach-w90x900/mach-w90p910evb.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c
index 9ebc93f4853..542527019b6 100644
--- a/arch/arm/mach-w90x900/mach-w90p910evb.c
+++ b/arch/arm/mach-w90x900/mach-w90p910evb.c
@@ -36,24 +36,16 @@
static struct map_desc w90p910_iodesc[] __initdata = {
};
-static struct w90x900_uartcfg w90p910_uartcfgs[] = {
- W90X900_UARTCFG(0, 0, 0, 0, 0),
- W90X900_UARTCFG(1, 0, 0, 0, 0),
- W90X900_UARTCFG(2, 0, 0, 0, 0),
- W90X900_UARTCFG(3, 0, 0, 0, 0),
- W90X900_UARTCFG(4, 0, 0, 0, 0),
-};
-
/*Here should be your evb resourse,such as LCD*/
static struct platform_device *w90p910evb_dev[] __initdata = {
+ &w90p910_serial_device,
};
static void __init w90p910evb_map_io(void)
{
w90p910_map_io(w90p910_iodesc, ARRAY_SIZE(w90p910_iodesc));
w90p910_init_clocks(0);
- w90p910_init_uarts(w90p910_uartcfgs, ARRAY_SIZE(w90p910_uartcfgs));
}
static void __init w90p910evb_init(void)