aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s5p
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-12 01:15:28 -0500
committerBen Dooks <ben-linux@fluff.org>2010-01-18 19:23:50 -0500
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 = {
135 .nr_resources = ARRAY_SIZE(s5p_uart3_resource), 135 .nr_resources = ARRAY_SIZE(s5p_uart3_resource),
136 }, 136 },
137}; 137};
138
139/* uart devices */
140
141static struct platform_device s5p_uart_device0 = {
142 .id = 0,
143};
144
145static struct platform_device s5p_uart_device1 = {
146 .id = 1,
147};
148
149static struct platform_device s5p_uart_device2 = {
150 .id = 2,
151};
152
153static struct platform_device s5p_uart_device3 = {
154 .id = 3,
155};
156
157struct platform_device *s3c24xx_uart_src[4] = {
158 &s5p_uart_device0,
159 &s5p_uart_device1,
160 &s5p_uart_device2,
161 &s5p_uart_device3,
162};
163
164struct platform_device *s3c24xx_uart_devs[4] = {
165};