summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-19 10:27:34 +0200
committerWolfgang Denk <wd@denx.de>2007-08-19 10:27:34 +0200
commit3e66c078003607a7d1d214c15a5f262bc1b4032f (patch)
treedec434342c6c09b2e4c0c1593b141857cd312d26 /drivers/serial/mcfuart.c
parent05675735ef77dc23b5e0eb782bad1ff477b55e86 (diff)
downloadu-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.zip
u-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.tar.gz
u-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.tar.bz2
Fix some build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
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 bc7077d..88f3eb1 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)