diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-26 23:49:01 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-26 23:50:14 +0400 |
commit | 9e83b3e434f29d71f923035a6001870d185581ec (patch) | |
tree | fa3a819c95ee280148966223d1e2022dafad8394 /drivers/media/dvb/siano/sms-cards.c | |
parent | 0f910bf0008c54b33da5691278c8ee8e8700ac48 (diff) | |
download | linux-9e83b3e434f29d71f923035a6001870d185581ec.tar.xz |
Revert "[media] siano: apply debug flag to module level"
This reverts commit ea3709435c7f2da8852c3d676874cd727253fc60.
As reported by Stephen Rothwell:
After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:
ERROR: "sms_dbg" [drivers/media/dvb/siano/smsusb.ko] undefined!
ERROR: "sms_dbg" [drivers/media/dvb/siano/smsdvb.ko] undefined!
Caused by commit ea3709435c7f ("[media] siano: apply debug flag to module
level").
Relevant config:
CONFIG_SMS_SIANO_MDTV=m
CONFIG_SMS_USB_DRV=m
CONFIG_SMS_SDIO_DRV=m
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.c | 4 |
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 cf442dc4c191..af121db88ea0 100644 --- a/drivers/media/dvb/siano/sms-cards.c +++ b/drivers/media/dvb/siano/sms-cards.c @@ -20,6 +20,10 @@ #include "sms-cards.h" #include "smsir.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", |