aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-12 11:36:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:04:51 -0200
commit4513fc696e273d64ea32f2366748aed810316ecc (patch)
tree567d831ce0518f44d48cfcadebce86781266563b /drivers/media/video/cx23885/cx23885-dvb.c
parentd685a483b8c92e3d0580b6c28e2ed531391c8c46 (diff)
V4L/DVB (7014): cx23885: dprintk macro cleanup
Added missing do { } while (0) Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 1b669ee962d..34910368049 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -40,10 +40,12 @@
#include "tuner-xc2028.h"
#include "tuner-xc2028-types.h"
-static unsigned int debug = 0;
+static unsigned int debug;
-#define dprintk(level,fmt, arg...) if (debug >= level) \
- printk(KERN_DEBUG "%s: " fmt, dev->name, ## arg)
+#define dprintk(level, fmt, arg...)\
+ do { if (debug >= level)\
+ printk(KERN_DEBUG "%s/0: " fmt, dev->name, ## arg);\
+ } while (0)
/* ------------------------------------------------------------------ */