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.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
index 36f74ec41..0fdad7963 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c
@@ -27,15 +27,13 @@
#include <linux/moduleparam.h>
/* debug */
-static int debug;
-module_param(debug, int, 0644);
+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))."
-#ifdef CONFIG_DVB_DIBCOM_DEBUG
+#ifndef CONFIG_DVB_DIBCOM_DEBUG
" (debugging is not enabled)"
#endif
);
-int dvb_dibusb_debug = 0;
-
static int pid_parse;
module_param(pid_parse, int, 0644);
@@ -415,7 +413,6 @@ static int dibusb_probe(struct usb_interface *intf,
dib->dibdev = dibdev;
/* store parameters to structures */
- dvb_dibusb_debug = debug;
dib->rc_query_interval = rc_query_interval;
dib->pid_parse = pid_parse;