summaryrefslogtreecommitdiffstats
path: root/package/gpio_rtl8196c
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpio_rtl8196c')
-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