From 93b2339c38d21f324ed5945efa4712385601341c Mon Sep 17 00:00:00 2001 From: Kenneth Aafloy Date: Fri, 30 Jul 2004 00:28:26 +0000 Subject: - More MODULE_PARM -> module_param changes, all should be corrected now. - Remove unused av7110 DEBUG_VARIABLE. --- linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c') 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 "); MODULE_DESCRIPTION("TTUSB DVB Driver"); MODULE_LICENSE("GPL"); -- cgit v1.2.3