summaryrefslogtreecommitdiff
path: root/drivers/serial/serial.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:40 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:40 +0200
commit55d6d2d39fe3fe87802e399aa17539368b495d2e (patch)
treecc16666a1035d9641fbefee5365383e541896e50 /drivers/serial/serial.c
parent65e41ea0548b86e3d7892defac8e4dc1ea70aed1 (diff)
downloadu-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.zip
u-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.tar.gz
u-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.tar.bz2
drivers/misc: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/serial/serial.c')
-rw-r--r--drivers/serial/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 8bbfcf9..b361eef 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -26,7 +26,7 @@
#ifdef CFG_NS16550_SERIAL
#include <ns16550.h>
-#ifdef CFG_NS87308
+#ifdef CONFIG_NS87308
#include <ns87308.h>
#endif
@@ -159,7 +159,7 @@ int serial_init (void)
{
int clock_divisor;
-#ifdef CFG_NS87308
+#ifdef CONFIG_NS87308
initialise_ns87308();
#endif