Skip to content

Commit

Permalink
[media] au8522: fix regression in logging introduced by separation of…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Aug 9, 2012
1 parent c98bc03 commit d6b8267
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions drivers/media/dvb/frontends/au8522_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include "dvb_frontend.h"
#include "au8522_priv.h"

MODULE_LICENSE("GPL");

static int debug;

#define dprintk(arg...)\
Expand Down Expand Up @@ -257,3 +255,10 @@ int au8522_sleep(struct dvb_frontend *fe)
return 0;
}
EXPORT_SYMBOL(au8522_sleep);

module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Enable verbose debug messages");

MODULE_DESCRIPTION("Auvitek AU8522 QAM-B/ATSC Demodulator driver");
MODULE_AUTHOR("Steven Toth");
MODULE_LICENSE("GPL");

0 comments on commit d6b8267

Please sign in to comment.