From c0b0560a9ed6e97eca6da5f8432c0dbb2fe471ad Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sun, 14 May 2006 15:49:42 +0200 Subject: Corrected debugging output of the mt2060 From: Patrick Boettcher When debugging was disabled at lot of empty lines where printed anyway. Reported by Rolf Ahrenberg and Sergei Haller. Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/frontends/mt2060.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers') 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) -- cgit v1.2.3