summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c11
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_av.c3
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_ca.c3
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_hw.c3
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_ir.c6
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_v4l.c3
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c1
7 files changed, 8 insertions, 22 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index bbc099909..f8a34b67c 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -62,9 +62,6 @@
#include "dvb_functions.h"
#include "dvb_i2c.h"
-
-#define DEBUG_VARIABLE av7110_debug
-
#include "ttpci-eeprom.h"
#include "av7110.h"
#include "av7110_hw.h"
@@ -72,10 +69,7 @@
#include "av7110_ca.h"
#include "av7110_ipack.h"
-
-static void restart_feeds(struct av7110 *av7110);
-
-int av7110_debug;
+static int av7110_debug;
static int vidmode = CVBS_RGB_OUT;
static int pids_off;
static int adac = DVB_ADAC_TI;
@@ -84,6 +78,7 @@ static int rgb_on;
static int volume = 255;
module_param_named(debug, av7110_debug, int, 0644);
+MODULE_PARM_DESC(av7110_debug, "Turn on/off debugging (default:off).");
module_param(vidmode, int, 0444);
MODULE_PARM_DESC(vidmode,"analog video out: 0 off, 1 CVBS+RGB (default), 2 CVBS+YC, 3 YC");
module_param(pids_off, int, 0444);
@@ -98,6 +93,8 @@ MODULE_PARM_DESC(rgb_on, "For Siemens DVB-C cards only: Enable RGB control"
module_param(volume, int, 0444);
MODULE_PARM_DESC(volume, "initial volume: default 255 (range 0-255)");
+static void restart_feeds(struct av7110 *av7110);
+
int av7110_num = 0;
static void init_av7110_av(struct av7110 *av7110)
diff --git a/linux/drivers/media/dvb/ttpci/av7110_av.c b/linux/drivers/media/dvb/ttpci/av7110_av.c
index a6c678af1..05d6e57d3 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_av.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_av.c
@@ -37,9 +37,6 @@
#include <linux/smp_lock.h>
#include <linux/fs.h>
-#define DEBUG_VARIABLE av7110_debug
-extern int av7110_debug;
-
#include "av7110.h"
#include "av7110_hw.h"
#include "av7110_av.h"
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ca.c b/linux/drivers/media/dvb/ttpci/av7110_ca.c
index fc3f3f2e4..cf91bb318 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_ca.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_ca.c
@@ -38,9 +38,6 @@
#include <linux/byteorder/swabb.h>
#include <linux/smp_lock.h>
-#define DEBUG_VARIABLE av7110_debug
-extern int av7110_debug;
-
#include "av7110.h"
#include "av7110_hw.h"
#include "dvb_functions.h"
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c
index 3945fdbde..8b4388a61 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_hw.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c
@@ -38,9 +38,6 @@
#include <linux/smp_lock.h>
#include <linux/fs.h>
-#define DEBUG_VARIABLE av7110_debug
-extern int av7110_debug;
-
#include "av7110.h"
#include "av7110_hw.h"
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ir.c b/linux/drivers/media/dvb/ttpci/av7110_ir.c
index 535516acd..8691df9b5 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_ir.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_ir.c
@@ -10,12 +10,12 @@
#define UP_TIMEOUT (HZ/4)
-#define dprintk(x...) do { if (av7110_ir_debug) printk (x); } while (0)
-
static int av7110_ir_debug;
module_param_named(debug_ir, av7110_ir_debug, int, 0644);
-MODULE_PARM_DESC(av7110_ir_debug, "enable AV7110 IR receiver debug messages");
+MODULE_PARM_DESC(av7110_ir_debug, "Turn on/off IR debugging (default:off).");
+
+#define dprintk(x...) do { if (av7110_ir_debug) printk (x); } while (0)
static struct input_dev input_dev;
diff --git a/linux/drivers/media/dvb/ttpci/av7110_v4l.c b/linux/drivers/media/dvb/ttpci/av7110_v4l.c
index dac4dde47..213871506 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_v4l.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_v4l.c
@@ -35,9 +35,6 @@
#include <linux/byteorder/swabb.h>
#include <linux/smp_lock.h>
-#define DEBUG_VARIABLE av7110_debug
-extern int av7110_debug;
-
#include "av7110.h"
#include "av7110_hw.h"
#include "av7110_av.h"
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index cdaddbf8c..1c5dd1b87 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -42,6 +42,7 @@
static int budget_debug;
module_param_named(debug, budget_debug, int, 0644);
+MODULE_PARM_DESC(budget_debug, "Turn on/off budget debugging (default:off).");
/****************************************************************************
* TT budget / WinTV Nova