diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:40 +0200 | 
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:40 +0200 | 
| commit | 55d6d2d39fe3fe87802e399aa17539368b495d2e (patch) | |
| tree | cc16666a1035d9641fbefee5365383e541896e50 /drivers/serial/serial.c | |
| parent | 65e41ea0548b86e3d7892defac8e4dc1ea70aed1 (diff) | |
| download | olio-uboot-2014.01-55d6d2d39fe3fe87802e399aa17539368b495d2e.tar.xz olio-uboot-2014.01-55d6d2d39fe3fe87802e399aa17539368b495d2e.zip | |
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.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 8bbfcf9c0..b361eef9a 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 |