summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
diff options
context:
space:
mode:
authorKenneth Aafloy <devnull@localhost>2004-07-30 00:28:26 +0000
committerKenneth Aafloy <devnull@localhost>2004-07-30 00:28:26 +0000
commit93b2339c38d21f324ed5945efa4712385601341c (patch)
tree5187d5e73cf86581b3cf93311f04fe7237681101 /linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
parent38ea67b839abf0e8f150106314bc4dff33312e18 (diff)
downloadmediapointer-dvb-s2-93b2339c38d21f324ed5945efa4712385601341c.tar.gz
mediapointer-dvb-s2-93b2339c38d21f324ed5945efa4712385601341c.tar.bz2
- More MODULE_PARM -> module_param changes, all should be corrected now.
- Remove unused av7110 DEBUG_VARIABLE.
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
index ff22dd7d0..ef68eed62 100644
--- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
+++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
@@ -49,7 +49,10 @@
this unless the device doesn't load at all. > 2 for bandwidth statistics.
*/
-static int debug = 0;
+static int debug;
+
+module_param(debug, int, 0644);
+MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
#define dprintk(x...) do { if (debug) printk(KERN_DEBUG x); } while (0)
@@ -1222,9 +1225,6 @@ static void __exit ttusb_exit(void)
module_init(ttusb_init);
module_exit(ttusb_exit);
-MODULE_PARM(debug, "i");
-MODULE_PARM_DESC(debug, "Debug or not");
-
MODULE_AUTHOR("Holger Waechtler <holger@convergence.de>");
MODULE_DESCRIPTION("TTUSB DVB Driver");
MODULE_LICENSE("GPL");