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-dec/ttusb_dec.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c') diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 170b9bc9d..59b047865 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -43,8 +43,13 @@ #include "dvb_frontend.h" #include "dvb_net.h" -static int debug = 0; -static int output_pva = 0; +static int debug; +static int output_pva; + +module_param(debug, int, 0644); +MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off)."); +module_param(output_pva, int, 0444); +MODULE_PARM_DESC(output_pva, "Output PVA from dvr device (default:off)"); #define dprintk if (debug) printk @@ -1847,7 +1852,3 @@ MODULE_DESCRIPTION(DRIVER_NAME); MODULE_LICENSE("GPL"); MODULE_DEVICE_TABLE(usb, ttusb_dec_table); -MODULE_PARM(debug, "i"); -MODULE_PARM_DESC(debug, "Debug level"); -MODULE_PARM(output_pva, "i"); -MODULE_PARM_DESC(output_pva, "Output PVA from dvr device"); -- cgit v1.2.3