summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drxk_hard.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-28 23:23:19 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-30 09:06:27 -0200
commit52ee29fe94ffb07b98bc31e018560b8fd3800904 (patch)
tree5b022ecb2b342300a1516cd84a08f20c5cb47182 /drivers/media/dvb-frontends/drxk_hard.c
parenta47959fbd5808890963fe8475a7c436bfd60d8c3 (diff)
downloadtalos-obmc-linux-52ee29fe94ffb07b98bc31e018560b8fd3800904.tar.gz
talos-obmc-linux-52ee29fe94ffb07b98bc31e018560b8fd3800904.zip
[media] drxk: Fix debug printks
This patch partially reverts 0fb220f2a5cb. What happened is that the conversion of debug messages to use pr_debug() was a bad idea, because one needing to debug would need to both enable debug level via a modprobe parameter, and then to enable the dynamic printk's. So, for now, let's use printk() directly at dprintk(). Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drxk_hard.c')
-rw-r--r--drivers/media/dvb-frontends/drxk_hard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index 672195147d01..f140b835c414 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -166,9 +166,9 @@ static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "enable debug messages");
-#define dprintk(level, fmt, arg...) do { \
-if (debug >= level) \
- pr_debug(fmt, ##arg); \
+#define dprintk(level, fmt, arg...) do { \
+if (debug >= level) \
+ printk(KERN_DEBUG KBUILD_MODNAME ": %s " fmt, __func__, ##arg); \
} while (0)
OpenPOWER on IntegriCloud