浏览代码

ARM i.MX31 mx31ads: remove unnecessary CONFIG_SERIAL_8250 ifdefs

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer 14 年之前
父节点
当前提交
9f43e44be8
共有 1 个文件被更改,包括 1 次插入8 次删除
  1. 1 8
      arch/arm/mach-mx3/mach-mx31ads.c

+ 1 - 8
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,