summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorHans Verkuil <devnull@localhost>2006-01-02 22:31:44 +0000
committerHans Verkuil <devnull@localhost>2006-01-02 22:31:44 +0000
commit9a57596ab92a5a0cdf8d1f205383da9b84aaf555 (patch)
tree05581625c203f45a06fb18125bd22a6b5d652d20 /linux/include/media/v4l2-common.h
parent799ff13cd8717f515448778273a21144725c9443 (diff)
downloadmediapointer-dvb-s2-9a57596ab92a5a0cdf8d1f205383da9b84aaf555.tar.gz
mediapointer-dvb-s2-9a57596ab92a5a0cdf8d1f205383da9b84aaf555.tar.bz2
convert diagnostics over to the new v4l2-common.h macros.
- convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media/v4l2-common.h')
-rw-r--r--linux/include/media/v4l2-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index 99eb14c2f..7bfc609e1 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -51,6 +51,7 @@
parameter called 'debug'. */
#define v4l_dbg(level, client, fmt, arg...) \
do { \
+ extern int debug; \
if (debug >= (level)) \
v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \
} while (0)