diff options
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index c5ca993679ec..51cdca8365c9 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -51,6 +51,7 @@ | |||
51 | parameter called 'debug'. */ | 51 | parameter called 'debug'. */ |
52 | #define v4l_dbg(level, client, fmt, arg...) \ | 52 | #define v4l_dbg(level, client, fmt, arg...) \ |
53 | do { \ | 53 | do { \ |
54 | extern int debug; \ | ||
54 | if (debug >= (level)) \ | 55 | if (debug >= (level)) \ |
55 | v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \ | 56 | v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \ |
56 | } while (0) | 57 | } while (0) |