aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smsdvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2009-02-27 00:42:16 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:02 -0400
commit0d02efe486ef251e2f625fc846cb5f241eb57160 (patch)
treeefe2ea128fb586d07c7b307837006e4135f15f2b /drivers/media/dvb/siano/smsdvb.c
parent9b76ede411145d7456ae5e467b65003ca7990b06 (diff)
V4L/DVB (10772): siano: prevent duplicate variable declaration
Fix the following build error: drivers/media/dvb/siano/smsusb.o: In function `get_order': include/asm-generic/page.h:10: multiple definition of `sms_dbg' drivers/media/dvb/siano/sms1xxx.o:include/asm-generic/page.h:10: first defined here drivers/media/dvb/siano/smsdvb.o: In function `get_order': include/asm-generic/page.h:10: multiple definition of `sms_dbg' drivers/media/dvb/siano/sms1xxx.o:include/asm-generic/page.h:10: first defined here Thanks to Mauro Carvalho Chehab for his original patch to address this issue. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/siano/smsdvb.c')
-rw-r--r--drivers/media/dvb/siano/smsdvb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c
index 36dc9f2d1172..ba080b95befb 100644
--- a/drivers/media/dvb/siano/smsdvb.c
+++ b/drivers/media/dvb/siano/smsdvb.c
@@ -50,6 +50,10 @@ struct smsdvb_client_t {
50static struct list_head g_smsdvb_clients; 50static struct list_head g_smsdvb_clients;
51static struct mutex g_smsdvb_clientslock; 51static struct mutex g_smsdvb_clientslock;
52 52
53static int sms_dbg;
54module_param_named(debug, sms_dbg, int, 0644);
55MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
56
53static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb) 57static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
54{ 58{
55 struct smsdvb_client_t *client = (struct smsdvb_client_t *) context; 59 struct smsdvb_client_t *client = (struct smsdvb_client_t *) context;