aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_max3100.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-02 23:48:30 +0200
committerWolfgang Denk <wd@denx.de>2008-08-03 02:24:52 +0200
commit81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (patch)
treefc05bf5db93e5a9c1712d24a5efdff94685063c2 /drivers/serial/serial_max3100.c
parent4cd7e6528f61ec669755c3754bb4f9779874fab3 (diff)
drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/serial/serial_max3100.c')
-rw-r--r--drivers/serial/serial_max3100.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/serial_max3100.c b/drivers/serial/serial_max3100.c
index 0611fc1dd4..4abc27109b 100644
--- a/drivers/serial/serial_max3100.c
+++ b/drivers/serial/serial_max3100.c
@@ -26,8 +26,6 @@
#include <common.h>
#include <watchdog.h>
-#ifdef CONFIG_MAX3100_SERIAL
-
DECLARE_GLOBAL_DATA_PTR;
/**************************************************************/
@@ -298,5 +296,3 @@ int serial_tstc(void)
void serial_setbrg(void)
{
}
-
-#endif