diff options
Diffstat (limited to 'drivers/media/pci/cx88/cx88-vbi.c')
-rw-r--r-- | drivers/media/pci/cx88/cx88-vbi.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/media/pci/cx88/cx88-vbi.c b/drivers/media/pci/cx88/cx88-vbi.c index d3237cf8ffa3..227f0f66e015 100644 --- a/drivers/media/pci/cx88/cx88-vbi.c +++ b/drivers/media/pci/cx88/cx88-vbi.c @@ -1,17 +1,21 @@ /* */ + +#include "cx88.h" + #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> -#include "cx88.h" - static unsigned int vbi_debug; module_param(vbi_debug,int,0644); MODULE_PARM_DESC(vbi_debug,"enable debug messages [vbi]"); -#define dprintk(level,fmt, arg...) if (vbi_debug >= level) \ - printk(KERN_DEBUG "%s: " fmt, dev->core->name , ## arg) +#define dprintk(level, fmt, arg...) do { \ + if (vbi_debug >= level) \ + printk(KERN_DEBUG pr_fmt("%s: vbi:" fmt), \ + __func__, ##arg); \ +} while (0) /* ------------------------------------------------------------------ */ |