@@ -17,7 +17,7 @@ extern int b2c2_flexcop_debug;
#define dprintk(level,args...) \
do { if ((b2c2_flexcop_debug & level)) printk(args); } while (0)
#else
-#define dprintk(level,args...)
+#define dprintk(level,args...) no_printk(args)
#endif
#define deb_info(args...) dprintk(0x01, args)
@@ -22,7 +22,7 @@ MODULE_PARM_DESC(irq_chk_intv, "set the interval for IRQ streaming watchdog.");
do { if ((debug & level)) printk(args); } while (0)
#define DEBSTATUS ""
#else
-#define dprintk(level,args...)
+#define dprintk(level,args...) no_printk(args)
#define DEBSTATUS " (debugging is not enabled)"
#endif
@@ -27,8 +27,8 @@
#define DEBSTATUS ""
#else
-#define dprintk(level, args...)
-#define debug_dump(b, l, method)
+#define dprintk(level, args...) no_printk(args)
+#define debug_dump(b, l, method) do { } while (0)
#define DEBSTATUS " (debugging is not enabled)"
#endif