diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-11 18:54:24 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-11 18:54:24 +0000 |
commit | 40aca7dd04e8f2d3e3a8cddd5d3d8c3d596c978f (patch) | |
tree | 63869cf90ecd5784572d76baabf8bd0634f5b1b2 /linux/include | |
parent | aeb66d031adc973bc997fe5edff81a6dd8ebfc17 (diff) | |
download | mediapointer-dvb-s2-40aca7dd04e8f2d3e3a8cddd5d3d8c3d596c978f.tar.gz mediapointer-dvb-s2-40aca7dd04e8f2d3e3a8cddd5d3d8c3d596c978f.tar.bz2 |
Fixes some bad global variables
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
- 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>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/v4l2-common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h index d7ee8f2f9..cff20491c 100644 --- a/linux/include/media/v4l2-common.h +++ b/linux/include/media/v4l2-common.h @@ -55,9 +55,8 @@ /* These three macros assume that the debug level is set with a module parameter called 'debug'. */ -#define v4l_dbg(level, client, fmt, arg...) \ +#define v4l_dbg(level, debug, client, fmt, arg...) \ do { \ - extern int debug; \ if (debug >= (level)) \ v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \ } while (0) |