summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-14 11:22:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-27 12:51:23 +0100
commit9f43e44be8787ddc01652dfc4331b34ae1475426 (patch)
tree913f842a9f562bd4e1396315dd2057a75035f449 /arch
parentARM i.MX31 mx31ads: remove unnecessary CONFIG_SERIAL_IMX ifdefs (diff)
downloadlinux-9f43e44be8787ddc01652dfc4331b34ae1475426.tar.xz
linux-9f43e44be8787ddc01652dfc4331b34ae1475426.zip
ARM i.MX31 mx31ads: remove unnecessary CONFIG_SERIAL_8250 ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-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 @@
* This file contains the board-specific initialization routines.
*/
-#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
-/*!
+/*
* The serial port definition structure.
*/
static struct plat_serial8250_port serial_platform_data[] = {
@@ -110,12 +109,6 @@ static int __init mxc_init_extuart(void)
{
return platform_device_register(&serial_device);
}
-#else
-static inline int mxc_init_extuart(void)
-{
- return 0;
-}
-#endif
static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS,