diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2012-08-06 21:47:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-09 19:35:55 -0400 |
commit | d6b8267800c59872bf2daf48c3399e83bee3a5ba (patch) | |
tree | 7e6558d02cbc9a04a4d8a6868a90dd25932bf838 /drivers/media/dvb | |
parent | c98bc032c52b088fa7baa27adbc2a4deed9acea7 (diff) |
[media] au8522: fix regression in logging introduced by separation of modules
The au8522 driver was broken into three modules (dig, decoder, common),
and as a result the debug modprobe option doesn't work for any of the
common functions.
Copy the module macros over to the common module so that the debug
option works again.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/au8522_common.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/au8522_common.c b/drivers/media/dvb/frontends/au8522_common.c index 5cfe151ee394..8b4da40192d5 100644 --- a/drivers/media/dvb/frontends/au8522_common.c +++ b/drivers/media/dvb/frontends/au8522_common.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include "dvb_frontend.h" | 26 | #include "dvb_frontend.h" |
27 | #include "au8522_priv.h" | 27 | #include "au8522_priv.h" |
28 | 28 | ||
29 | MODULE_LICENSE("GPL"); | ||
30 | |||
31 | static int debug; | 29 | static int debug; |
32 | 30 | ||
33 | #define dprintk(arg...)\ | 31 | #define dprintk(arg...)\ |
@@ -257,3 +255,10 @@ int au8522_sleep(struct dvb_frontend *fe) | |||
257 | return 0; | 255 | return 0; |
258 | } | 256 | } |
259 | EXPORT_SYMBOL(au8522_sleep); | 257 | EXPORT_SYMBOL(au8522_sleep); |
258 | |||
259 | module_param(debug, int, 0644); | ||
260 | MODULE_PARM_DESC(debug, "Enable verbose debug messages"); | ||
261 | |||
262 | MODULE_DESCRIPTION("Auvitek AU8522 QAM-B/ATSC Demodulator driver"); | ||
263 | MODULE_AUTHOR("Steven Toth"); | ||
264 | MODULE_LICENSE("GPL"); | ||