diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-14 05:34:11 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-27 08:33:54 -0500 |
commit | 7f16f817e20b187e3130ce16f510971cf8ff5d07 (patch) | |
tree | 002c9bd2ef43aebac33ba71c30a995a4da8e4c0a /arch/arm/mach-mx5 | |
parent | 818956e0b68f35ef56e9361d0fdea5d935e3827a (diff) |
ARM i.MX51 cpuimx51: remove unnecessary CONFIG_SERIAL_8250 ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mx5/board-cpuimx51.c b/arch/arm/mach-mx5/board-cpuimx51.c index f8652ef25f85..f576a97ba124 100644 --- a/arch/arm/mach-mx5/board-cpuimx51.c +++ b/arch/arm/mach-mx5/board-cpuimx51.c | |||
@@ -60,7 +60,6 @@ | |||
60 | #define MX51_USB_PLL_DIV_19_2_MHZ 0x01 | 60 | #define MX51_USB_PLL_DIV_19_2_MHZ 0x01 |
61 | #define MX51_USB_PLL_DIV_24_MHZ 0x02 | 61 | #define MX51_USB_PLL_DIV_24_MHZ 0x02 |
62 | 62 | ||
63 | #if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) | ||
64 | static struct plat_serial8250_port serial_platform_data[] = { | 63 | static struct plat_serial8250_port serial_platform_data[] = { |
65 | { | 64 | { |
66 | .mapbase = (unsigned long)(MX51_CS1_BASE_ADDR + 0x400000), | 65 | .mapbase = (unsigned long)(MX51_CS1_BASE_ADDR + 0x400000), |
@@ -105,12 +104,9 @@ static struct platform_device serial_device = { | |||
105 | .platform_data = serial_platform_data, | 104 | .platform_data = serial_platform_data, |
106 | }, | 105 | }, |
107 | }; | 106 | }; |
108 | #endif | ||
109 | 107 | ||
110 | static struct platform_device *devices[] __initdata = { | 108 | static struct platform_device *devices[] __initdata = { |
111 | #if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) | ||
112 | &serial_device, | 109 | &serial_device, |
113 | #endif | ||
114 | }; | 110 | }; |
115 | 111 | ||
116 | static iomux_v3_cfg_t eukrea_cpuimx51_pads[] = { | 112 | static iomux_v3_cfg_t eukrea_cpuimx51_pads[] = { |