diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 00:42:16 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 00:42:16 -0500 |
commit | 899f11425eb80c72799631d47db226f72cdfcc30 (patch) | |
tree | 36a4d384c31d5c9bcf52a61a16f12e88a19b0cb0 /linux/drivers/media/dvb/siano/sms-cards.c | |
parent | e23e03dc509f8644678aa10be2b84259fb0b29ab (diff) | |
download | mediapointer-dvb-s2-899f11425eb80c72799631d47db226f72cdfcc30.tar.gz mediapointer-dvb-s2-899f11425eb80c72799631d47db226f72cdfcc30.tar.bz2 |
siano: prevent duplicate variable declaration
From: Michael Krufky <mkrufky@linuxtv.org>
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.
Priority: normal
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/siano/sms-cards.c')
-rw-r--r-- | linux/drivers/media/dvb/siano/sms-cards.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/sms-cards.c b/linux/drivers/media/dvb/siano/sms-cards.c index 66f591937..63e4d0ec6 100644 --- a/linux/drivers/media/dvb/siano/sms-cards.c +++ b/linux/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", |