summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/mt2060.c
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-05-14 15:49:42 +0200
committerPatrick Boettcher <pb@linuxtv.org>2006-05-14 15:49:42 +0200
commitc0b0560a9ed6e97eca6da5f8432c0dbb2fe471ad (patch)
tree7dd9f07e132dca2a7568efea3acab55d5e32953c /linux/drivers/media/dvb/frontends/mt2060.c
parent6c93fecc626155d42d6d32f430ffb11b16e219c6 (diff)
downloadmediapointer-dvb-s2-c0b0560a9ed6e97eca6da5f8432c0dbb2fe471ad.tar.gz
mediapointer-dvb-s2-c0b0560a9ed6e97eca6da5f8432c0dbb2fe471ad.tar.bz2
Corrected debugging output of the mt2060
From: Patrick Boettcher <pb@linuxtv.org> When debugging was disabled at lot of empty lines where printed anyway. Reported by Rolf Ahrenberg and Sergei Haller. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/mt2060.c')
-rw-r--r--linux/drivers/media/dvb/frontends/mt2060.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt2060.c b/linux/drivers/media/dvb/frontends/mt2060.c
index 618da4baf..14b4f588e 100644
--- a/linux/drivers/media/dvb/frontends/mt2060.c
+++ b/linux/drivers/media/dvb/frontends/mt2060.c
@@ -34,7 +34,7 @@ static int debug=0;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
-#define dprintk(args...) do { if (debug) printk(KERN_DEBUG "MT2060: " args); printk("\n"); } while (0)
+#define dprintk(args...) do { if (debug) { printk(KERN_DEBUG "MT2060: " args); printk("\n"); } } while (0)
// Reads a single register
static int mt2060_readreg(struct mt2060_state *state, u8 reg, u8 *val)