summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-27 00:06:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-27 00:06:40 -0300
commit651832517bf84c433af2ced6ce2aa666d59f6e96 (patch)
tree2fee95db8f82d0839695115fefe3a8472691d7b6 /linux
parentf626beeeee212e7258b97cfbc88cb6a79a4e9e62 (diff)
downloadmediapointer-dvb-s2-651832517bf84c433af2ced6ce2aa666d59f6e96.tar.gz
mediapointer-dvb-s2-651832517bf84c433af2ced6ce2aa666d59f6e96.tar.bz2
siano: Remove duplicated var declaration
From: Mauro Carvalho Chehab <mchehab@redhat.com> The same var were declared into three different modules: drivers/media/dvb/siano/smsusb.o: In function `get_order': /home/v4l/tokernel/wrk/devel/include/asm-generic/page.h:10: multiple definition of `sms_dbg' drivers/media/dvb/siano/sms1xxx.o:/home/v4l/tokernel/wrk/devel/include/asm-generic/page.h:10: first defined here drivers/media/dvb/siano/smsdvb.o: In function `get_order': /home/v4l/tokernel/wrk/devel/include/asm-generic/page.h:10: multiple definition of `sms_dbg' drivers/media/dvb/siano/sms1xxx.o:/home/v4l/tokernel/wrk/devel/include/asm-generic/page.h:10: first defined here kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/siano/smsdvb.c4
-rw-r--r--linux/drivers/media/dvb/siano/smsusb.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/siano/smsdvb.c b/linux/drivers/media/dvb/siano/smsdvb.c
index f7f5569c1..c91f6f242 100644
--- a/linux/drivers/media/dvb/siano/smsdvb.c
+++ b/linux/drivers/media/dvb/siano/smsdvb.c
@@ -50,10 +50,6 @@ struct smsdvb_client_t {
static struct list_head g_smsdvb_clients;
static struct mutex g_smsdvb_clientslock;
-int sms_dbg;
-module_param_named(debug, sms_dbg, int, 0644);
-MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
-
static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
{
struct smsdvb_client_t *client = (struct smsdvb_client_t *) context;
diff --git a/linux/drivers/media/dvb/siano/smsusb.c b/linux/drivers/media/dvb/siano/smsusb.c
index a2da36122..b25ab60a4 100644
--- a/linux/drivers/media/dvb/siano/smsusb.c
+++ b/linux/drivers/media/dvb/siano/smsusb.c
@@ -27,10 +27,6 @@
#include "smscoreapi.h"
#include "sms-cards.h"
-int sms_dbg;
-module_param_named(debug, sms_dbg, int, 0644);
-MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
-
#define USB1_BUFFER_SIZE 0x1000
#define USB2_BUFFER_SIZE 0x4000