diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-12 09:36:36 -0500 |
---|---|---|
committer | Steven Toth <stoth@hauppauge.com> | 2008-01-12 09:36:36 -0500 |
commit | faec69843e003fb347d73ca72159b7c892eed687 (patch) | |
tree | 595a0692ac9f0719d698f6d6a6ea1dd1d530c1ed /linux/drivers/media/video/cx23885/cx23885-dvb.c | |
parent | 66f3e98340a34bd0062a84e6b8e2aa84d29c42e3 (diff) | |
download | mediapointer-dvb-s2-faec69843e003fb347d73ca72159b7c892eed687.tar.gz mediapointer-dvb-s2-faec69843e003fb347d73ca72159b7c892eed687.tar.bz2 |
cx23885: dprintk macro cleanup
From: Steven Toth <stoth@hauppauge.com>
Added missing do { } while (0)
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r-- | linux/drivers/media/video/cx23885/cx23885-dvb.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c index 84598c514..cd935a13f 100644 --- a/linux/drivers/media/video/cx23885/cx23885-dvb.c +++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c @@ -41,10 +41,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) /* ------------------------------------------------------------------ */ |