From 9a57596ab92a5a0cdf8d1f205383da9b84aaf555 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 2 Jan 2006 22:31:44 +0000 Subject: 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 --- linux/include/media/v4l2-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/include/media/v4l2-common.h') 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) -- cgit v1.2.3