diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-12 15:15:28 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 09:23:50 +0900 |
commit | 0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (patch) | |
tree | 67cf139b9538677b886dbc10c14b635107eb4294 /arch/arm/plat-s3c64xx | |
parent | 0f61628e37e121b7786bff2653fc25a321e82ec4 (diff) | |
download | op-kernel-dev-0a6361316d6493b9dcbdda9a6a4586c3ccbfd008.zip op-kernel-dev-0a6361316d6493b9dcbdda9a6a4586c3ccbfd008.tar.gz |
ARM: SAMSUNG: Make UART device code common
Move s3c24xx_uart_devs, s3c24xx_uart_src and the platform devices to a
common entry in plat-samsung since they are the same in all the current
implementations.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx')
-rw-r--r-- | arch/arm/plat-s3c64xx/dev-uart.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/plat-s3c64xx/dev-uart.c b/arch/arm/plat-s3c64xx/dev-uart.c index 62c11a6..f797f74 100644 --- a/arch/arm/plat-s3c64xx/dev-uart.c +++ b/arch/arm/plat-s3c64xx/dev-uart.c @@ -145,32 +145,3 @@ struct s3c24xx_uart_resources s3c64xx_uart_resources[] __initdata = { .nr_resources = ARRAY_SIZE(s3c64xx_uart3_resource), }, }; - -/* uart devices */ - -static struct platform_device s3c24xx_uart_device0 = { - .id = 0, -}; - -static struct platform_device s3c24xx_uart_device1 = { - .id = 1, -}; - -static struct platform_device s3c24xx_uart_device2 = { - .id = 2, -}; - -static struct platform_device s3c24xx_uart_device3 = { - .id = 3, -}; - -struct platform_device *s3c24xx_uart_src[4] = { - &s3c24xx_uart_device0, - &s3c24xx_uart_device1, - &s3c24xx_uart_device2, - &s3c24xx_uart_device3, -}; - -struct platform_device *s3c24xx_uart_devs[4] = { -}; - |