summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
index 0fdad7963..400332249 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
@@ -27,13 +27,15 @@
#include <linux/moduleparam.h>
/* debug */
+#ifdef CONFIG_DVB_DIBCOM_DEBUG
+#define DEBSTATUS ""
+#else
+#define DEBSTATUS " (debugging is not enabled)"
+#endif
int dvb_dibusb_debug;
module_param_named(debug, dvb_dibusb_debug, int, 0644);
-MODULE_PARM_DESC(debug, "set debugging level (1=info,2=xfer,4=alotmore,8=ts,16=err,32=rc (|-able))."
-#ifndef CONFIG_DVB_DIBCOM_DEBUG
- " (debugging is not enabled)"
-#endif
-);
+MODULE_PARM_DESC(debug, "set debugging level (1=info,2=xfer,4=alotmore,8=ts,16=err,32=rc (|-able))." DEBSTATUS);
+#undef DEBSTATUS
static int pid_parse;
module_param(pid_parse, int, 0644);