summaryrefslogtreecommitdiffstats
path: root/package/gpio_rtl8196c/src/gpio_rtl8196c.c
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-07-19 09:51:19 +0300
committerRoman Yeryomin <roman@advem.lv>2013-07-19 09:51:19 +0300
commitfde05611c4f3ecf7a5d45032d8fd53cfc0420d5f (patch)
tree240f82039d9b60aed2432bfbe2d1c9101ee8a84c /package/gpio_rtl8196c/src/gpio_rtl8196c.c
parentcc536db22b447ccd6f158066909989f43ce83e32 (diff)
parent5bfe1cdae38c39a4fe7ca891aac31233165e3531 (diff)
Merge branch 'realtek-unstable' of git://git.tet.rtu.lv/openwrt-realtek into realtek-unstable
Diffstat (limited to 'package/gpio_rtl8196c/src/gpio_rtl8196c.c')
-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