summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_card.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zoran_card.h')
-rw-r--r--drivers/media/video/zoran_card.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/zoran_card.h b/drivers/media/video/zoran_card.h
index ad997c30bee..8444ca0a5f3 100644
--- a/drivers/media/video/zoran_card.h
+++ b/drivers/media/video/zoran_card.h
@@ -30,6 +30,14 @@
#ifndef __ZORAN_CARD_H__
#define __ZORAN_CARD_H__
+extern int zr36067_debug;
+
+#define dprintk(num, format, args...) \
+ do { \
+ if (zr36067_debug >= num) \
+ printk(format, ##args); \
+ } while (0)
+
/* Anybody who uses more than four? */
#define BUZ_MAX 4
extern int zoran_num;