diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-12 06:15:28 (GMT) |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 00:23:50 (GMT) |
commit | 0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (patch) | |
tree | 67cf139b9538677b886dbc10c14b635107eb4294 /arch/arm/plat-s5pc1xx | |
parent | 0f61628e37e121b7786bff2653fc25a321e82ec4 (diff) | |
download | linux-fsl-qoriq-0a6361316d6493b9dcbdda9a6a4586c3ccbfd008.tar.xz |
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-s5pc1xx')
-rw-r--r-- | arch/arm/plat-s5pc1xx/dev-uart.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/plat-s5pc1xx/dev-uart.c b/arch/arm/plat-s5pc1xx/dev-uart.c index f749bc5..586c95c 100644 --- a/arch/arm/plat-s5pc1xx/dev-uart.c +++ b/arch/arm/plat-s5pc1xx/dev-uart.c @@ -143,32 +143,3 @@ struct s3c24xx_uart_resources s5pc1xx_uart_resources[] __initdata = { .nr_resources = ARRAY_SIZE(s5pc1xx_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] = { -}; - |