summaryrefslogtreecommitdiff
path: root/arch/arm/plat-s5p
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-12 15:15:28 +0900
committerBen Dooks <ben-linux@fluff.org>2010-01-19 09:23:50 +0900
commit0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (patch)
tree67cf139b9538677b886dbc10c14b635107eb4294 /arch/arm/plat-s5p
parent0f61628e37e121b7786bff2653fc25a321e82ec4 (diff)
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-s5p')
-rw-r--r--arch/arm/plat-s5p/dev-uart.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/plat-s5p/dev-uart.c b/arch/arm/plat-s5p/dev-uart.c
index af726f47385e..23c75316d491 100644
--- a/arch/arm/plat-s5p/dev-uart.c
+++ b/arch/arm/plat-s5p/dev-uart.c
@@ -135,31 +135,3 @@ struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = {
.nr_resources = ARRAY_SIZE(s5p_uart3_resource),
},
};
-
-/* uart devices */
-
-static struct platform_device s5p_uart_device0 = {
- .id = 0,
-};
-
-static struct platform_device s5p_uart_device1 = {
- .id = 1,
-};
-
-static struct platform_device s5p_uart_device2 = {
- .id = 2,
-};
-
-static struct platform_device s5p_uart_device3 = {
- .id = 3,
-};
-
-struct platform_device *s3c24xx_uart_src[4] = {
- &s5p_uart_device0,
- &s5p_uart_device1,
- &s5p_uart_device2,
- &s5p_uart_device3,
-};
-
-struct platform_device *s3c24xx_uart_devs[4] = {
-};