summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/mcfuart.c')
-rw-r--r--drivers/serial/mcfuart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c
index bc7077de79e..88f3eb10abf 100644
--- a/drivers/serial/mcfuart.c
+++ b/drivers/serial/mcfuart.c
@@ -28,12 +28,14 @@
*/
#include <common.h>
+
+#ifdef CONFIG_MCFUART
+
#include <asm/immap.h>
#include <asm/uart.h>
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_MCFUART
extern void uart_port_conf(void);
int serial_init(void)