diff options
Diffstat (limited to 'arch/arm/mach-dove/common.c')
-rw-r--r-- | arch/arm/mach-dove/common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c index e06a88f1f81..30c95187978 100644 --- a/arch/arm/mach-dove/common.c +++ b/arch/arm/mach-dove/common.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/mv643xx_eth.h> | 19 | #include <linux/mv643xx_eth.h> |
20 | #include <linux/mv643xx_i2c.h> | 20 | #include <linux/mv643xx_i2c.h> |
21 | #include <linux/ata_platform.h> | 21 | #include <linux/ata_platform.h> |
22 | #include <linux/serial_8250.h> | ||
22 | #include <linux/spi/orion_spi.h> | 23 | #include <linux/spi/orion_spi.h> |
23 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
24 | #include <asm/page.h> | 25 | #include <asm/page.h> |
@@ -281,7 +282,7 @@ static struct resource dove_uart0_resources[] = { | |||
281 | 282 | ||
282 | static struct platform_device dove_uart0 = { | 283 | static struct platform_device dove_uart0 = { |
283 | .name = "serial8250", | 284 | .name = "serial8250", |
284 | .id = 0, | 285 | .id = PLAT8250_DEV_PLATFORM, |
285 | .dev = { | 286 | .dev = { |
286 | .platform_data = dove_uart0_data, | 287 | .platform_data = dove_uart0_data, |
287 | }, | 288 | }, |
@@ -324,7 +325,7 @@ static struct resource dove_uart1_resources[] = { | |||
324 | 325 | ||
325 | static struct platform_device dove_uart1 = { | 326 | static struct platform_device dove_uart1 = { |
326 | .name = "serial8250", | 327 | .name = "serial8250", |
327 | .id = 1, | 328 | .id = PLAT8250_DEV_PLATFORM1, |
328 | .dev = { | 329 | .dev = { |
329 | .platform_data = dove_uart1_data, | 330 | .platform_data = dove_uart1_data, |
330 | }, | 331 | }, |
@@ -367,7 +368,7 @@ static struct resource dove_uart2_resources[] = { | |||
367 | 368 | ||
368 | static struct platform_device dove_uart2 = { | 369 | static struct platform_device dove_uart2 = { |
369 | .name = "serial8250", | 370 | .name = "serial8250", |
370 | .id = 2, | 371 | .id = PLAT8250_DEV_PLATFORM2, |
371 | .dev = { | 372 | .dev = { |
372 | .platform_data = dove_uart2_data, | 373 | .platform_data = dove_uart2_data, |
373 | }, | 374 | }, |