summaryrefslogtreecommitdiffstats
path: root/drivers/serial/usbtty.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-12-09 22:30:22 +0100
committerWolfgang Denk <wd@denx.de>2008-12-09 22:30:22 +0100
commitf68a0c91496b75156006ef43fd87d37ee28bc569 (patch)
treecd0a7aeca4f0c2cdaf35e52fa80116ef6d19a522 /drivers/serial/usbtty.c
parentd5e710a3974e0e9bbac5bf15d815b0ead1bec8a8 (diff)
parent695a5f339a898b6512a1677eafeb0418caba48a6 (diff)
downloadtalos-obmc-uboot-f68a0c91496b75156006ef43fd87d37ee28bc569.tar.gz
talos-obmc-uboot-f68a0c91496b75156006ef43fd87d37ee28bc569.zip
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'drivers/serial/usbtty.c')
-rw-r--r--drivers/serial/usbtty.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c
index e738c56271..7eba470e49 100644
--- a/drivers/serial/usbtty.c
+++ b/drivers/serial/usbtty.c
@@ -22,16 +22,14 @@
*/
#include <common.h>
-
+#include <config.h>
#include <circbuf.h>
#include <devices.h>
#include "usbtty.h"
#include "usb_cdc_acm.h"
#include "usbdescriptors.h"
-#include <config.h> /* If defined, override Linux identifiers with
- * vendor specific ones */
-#if 0
+#ifdef DEBUG
#define TTYDBG(fmt,args...)\
serial_printf("[%s] %s %d: "fmt, __FILE__,__FUNCTION__,__LINE__,##args)
#else
OpenPOWER on IntegriCloud