Commit 9f43e44b authored by Sascha Hauer's avatar Sascha Hauer

ARM i.MX31 mx31ads: remove unnecessary CONFIG_SERIAL_8250 ifdefs

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 889faeaa
...@@ -73,8 +73,7 @@ ...@@ -73,8 +73,7 @@
* This file contains the board-specific initialization routines. * This file contains the board-specific initialization routines.
*/ */
#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) /*
/*!
* The serial port definition structure. * The serial port definition structure.
*/ */
static struct plat_serial8250_port serial_platform_data[] = { static struct plat_serial8250_port serial_platform_data[] = {
...@@ -110,12 +109,6 @@ static int __init mxc_init_extuart(void) ...@@ -110,12 +109,6 @@ static int __init mxc_init_extuart(void)
{ {
return platform_device_register(&serial_device); 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 = { static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS, .flags = IMXUART_HAVE_RTSCTS,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment