summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/common/saa7146.h')
-rw-r--r--linux/drivers/media/common/saa7146.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/common/saa7146.h b/linux/drivers/media/common/saa7146.h
index 27889ec19..752a10d2d 100644
--- a/linux/drivers/media/common/saa7146.h
+++ b/linux/drivers/media/common/saa7146.h
@@ -32,8 +32,7 @@
#define BOARD_CAN_DO_VBI(dev) (dev->revision != 0 && 0 != dev->ext->vbi)
extern int debug;
-// #define DEBUG_PROLOG printk("(0x%08x): %s: %s(): ",dev == 0 ? 0 : (dev->mem == 0?0:saa7146_read(dev,IER)),KBUILD_MODNAME,__FUNCTION__)
-#define DEBUG_PROLOG printk("%s: %s(): ",KBUILD_MODNAME,__FUNCTION__)
+#define DEBUG_PROLOG printk("%s: %s(): ","KBUILD_MODNAME",__FUNCTION__)
#define DEB_S(x) if (0!=(debug&0x01)) { DEBUG_PROLOG; printk x; } /* simple debug messages */
#define DEB_D(x) if (0!=(debug&0x02)) { DEBUG_PROLOG; printk x; } /* more detailed debug messages */
@@ -44,7 +43,7 @@ extern int debug;
#define DEB_CAP(x) if (0!=(debug&0x40)) { DEBUG_PROLOG; printk x; } /* capture debug messages */
#define ERR(x) { DEBUG_PROLOG; printk x; }
-#define INFO(x) { printk("%s: ",KBUILD_MODNAME); printk x; }
+#define INFO(x) { printk("%s: ","KBUILD_MODNAME"); printk x; }
#define IER_DISABLE(x,y) \
saa7146_write(x, IER, saa7146_read(x, IER) & ~(y));