summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/siano/sms-cards.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2009-02-27 02:42:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:02 -0300
commit0d02efe486ef251e2f625fc846cb5f241eb57160 (patch)
treeefe2ea128fb586d07c7b307837006e4135f15f2b /drivers/media/dvb/siano/sms-cards.c
parent9b76ede411145d7456ae5e467b65003ca7990b06 (diff)
downloadlinux-3.10-0d02efe486ef251e2f625fc846cb5f241eb57160.tar.gz
linux-3.10-0d02efe486ef251e2f625fc846cb5f241eb57160.tar.bz2
linux-3.10-0d02efe486ef251e2f625fc846cb5f241eb57160.zip
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/sms-cards.c')
-rw-r--r--drivers/media/dvb/siano/sms-cards.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/sms-cards.c b/drivers/media/dvb/siano/sms-cards.c
index 66f591937ff..63e4d0ec658 100644
--- a/drivers/media/dvb/siano/sms-cards.c
+++ b/drivers/media/dvb/siano/sms-cards.c
@@ -19,6 +19,10 @@
#include "sms-cards.h"
+static int sms_dbg;
+module_param_named(cards_dbg, sms_dbg, int, 0644);
+MODULE_PARM_DESC(cards_dbg, "set debug level (info=1, adv=2 (or-able))");
+
static struct sms_board sms_boards[] = {
[SMS_BOARD_UNKNOWN] = {
.name = "Unknown board",