summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.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-dec/ttusb_dec.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-dec/ttusb_dec.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c13
1 files changed, 7 insertions, 6 deletions
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");