summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-07-18 16:47:25 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-07-18 16:47:25 +0300
commitcdb691fe07b833808f90c9b214725b22f1644bf6 (patch)
tree1fbc0775cd591859de6412ebd9ebc3b9488abaf6
parent4d6099489e3d20c0ed5ec9b70accd821839ecdfd (diff)
gpio_rtl8196c now dont show debuginfo
-rw-r--r--package/gpio_rtl8196c/src/gpio_rtl8196c.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/gpio_rtl8196c/src/gpio_rtl8196c.c b/package/gpio_rtl8196c/src/gpio_rtl8196c.c
index 3babfa484..c2aae8d67 100644
--- a/package/gpio_rtl8196c/src/gpio_rtl8196c.c
+++ b/package/gpio_rtl8196c/src/gpio_rtl8196c.c
@@ -17,7 +17,11 @@
//DEBUG macroses
#define MOD_NAME "gpio_rtl8196c"
-#define PRINT( format, args ...) printk( "%15s:%3d = " format, MOD_NAME,__LINE__, ##args)
+#ifdef DEBUG
+ #define PRINT( format, args ...) printk( "%15s:%3d = " format, MOD_NAME,__LINE__, ##args)
+#else
+ #define PRINT( format, args ...) ;
+#endif
////////////////////////////////////////////////////////////////////////
#define RTL8196C_BASE_ADDR 0xb8000000