aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-14 05:22:31 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-27 06:51:23 -0500
commit9f43e44be8787ddc01652dfc4331b34ae1475426 (patch)
tree913f842a9f562bd4e1396315dd2057a75035f449
parent889faeaad0333f692f8acd870faeaa01bf1fc21d (diff)
ARM i.MX31 mx31ads: remove unnecessary CONFIG_SERIAL_8250 ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mx3/mach-mx31ads.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31ads.c b/arch/arm/mach-mx3/mach-mx31ads.c
index 1a83dc53e118..e40eb6e26940 100644
--- a/arch/arm/mach-mx3/mach-mx31ads.c
+++ b/arch/arm/mach-mx3/mach-mx31ads.c
@@ -73,8 +73,7 @@
73 * This file contains the board-specific initialization routines. 73 * This file contains the board-specific initialization routines.
74 */ 74 */
75 75
76#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) 76/*
77/*!
78 * The serial port definition structure. 77 * The serial port definition structure.
79 */ 78 */
80static struct plat_serial8250_port serial_platform_data[] = { 79static struct plat_serial8250_port serial_platform_data[] = {
@@ -110,12 +109,6 @@ static int __init mxc_init_extuart(void)
110{ 109{
111 return platform_device_register(&serial_device); 110 return platform_device_register(&serial_device);
112} 111}
113#else
114static inline int mxc_init_extuart(void)
115{
116 return 0;
117}
118#endif
119 112
120static const struct imxuart_platform_data uart_pdata __initconst = { 113static const struct imxuart_platform_data uart_pdata __initconst = {
121 .flags = IMXUART_HAVE_RTSCTS, 114 .flags = IMXUART_HAVE_RTSCTS,