diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-02-04 05:01:38 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-10 11:24:21 +0000 |
commit | 17198f2d681d34b3376f3a55b2837e56062c2439 (patch) | |
tree | 9d9f87f3bf08c530ef18251e04a50ec16d6633ea /arch/arm/mach-w90x900/mach-w90p910evb.c | |
parent | b74788d8c118a48585ad5342560e0aea6ed0ccd4 (diff) | |
download | kernel-crypto-17198f2d681d34b3376f3a55b2837e56062c2439.tar.gz kernel-crypto-17198f2d681d34b3376f3a55b2837e56062c2439.tar.xz kernel-crypto-17198f2d681d34b3376f3a55b2837e56062c2439.zip |
[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.c | 10 |
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) |