summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/vp7041/vp7041.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/vp7041/vp7041.c')
-rw-r--r--linux/drivers/media/dvb/vp7041/vp7041.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/vp7041/vp7041.c b/linux/drivers/media/dvb/vp7041/vp7041.c
index e3d530faa..f5d93be73 100644
--- a/linux/drivers/media/dvb/vp7041/vp7041.c
+++ b/linux/drivers/media/dvb/vp7041/vp7041.c
@@ -59,10 +59,11 @@
#include "dvb_frontend.h"
#include "dvb_net.h"
-// module parameters
-static int debug = 0;
+static int debug;
+
+module_param(debug, int, 0x644);
+MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
-// debug macro
#define dprintk if (debug) printk
/* Version information */
@@ -1013,10 +1014,6 @@ static void __exit usb_vp7041_exit(void)
module_init (usb_vp7041_init);
module_exit (usb_vp7041_exit);
-/* module parameters */
-module_param(debug, int,0x644);
-MODULE_PARM_DESC(debug, "enable debugging (or not)");
-
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");