diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-11 16:41:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-11 16:41:49 -0500 |
commit | f167cb4e6ee07914b66eb85fc0bf006a409b6838 (patch) | |
tree | 11b888db404a404a9a918c841d06d65c21bc4c19 /include | |
parent | b2a17e47ceb82d23dbf5c5fb24b5377e21486dce (diff) |
V4L/DVB (3345): Fixes some bad global variables
- Debug global var is already used inside kernel.
- v4l_dbg now expects the debug var
- global vars inside msp34xx renamed to msp_*
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/v4l2-common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 3cc3132f391e..c74052abb189 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -49,9 +49,8 @@ | |||
49 | 49 | ||
50 | /* These three macros assume that the debug level is set with a module | 50 | /* These three macros assume that the debug level is set with a module |
51 | parameter called 'debug'. */ | 51 | parameter called 'debug'. */ |
52 | #define v4l_dbg(level, client, fmt, arg...) \ | 52 | #define v4l_dbg(level, debug, client, fmt, arg...) \ |
53 | do { \ | 53 | do { \ |
54 | extern int debug; \ | ||
55 | if (debug >= (level)) \ | 54 | if (debug >= (level)) \ |
56 | v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \ | 55 | v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \ |
57 | } while (0) | 56 | } while (0) |