diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-26 00:06:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 14:29:57 +0200 |
commit | b33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa (patch) | |
tree | 4486546bbc7141bd3ad3b174e7c7c749a13174db /drivers/media/video/au0828/au0828-i2c.c | |
parent | V4L/DVB (7748): tuner-core: some adjustments at tuner logs, if debug enabled (diff) | |
download | linux-b33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa.tar.xz linux-b33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa.zip |
V4L/DVB (7750): au0828/ cleanups and fixes
This patch contains the following cleanups and fixes:
- "debug" is definitely not a good name for a global variable,
renamed it to "au0828_debug"
this fixes a compile error with some kernel configurations
- since the module parameter is int the variable shouldn't be unsigned
- remove the {usb,bridge,i2c}_debug module parameters since they are
already covered by the "debug" module parameter
- remove the unused au0828_bcount
- make the needlessly global i2c_scan static
- make the needlessly global dvb_register() static
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-i2c.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-i2c.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/au0828/au0828-i2c.c b/drivers/media/video/au0828/au0828-i2c.c index 94c8b74a6651..741a4937b050 100644 --- a/drivers/media/video/au0828/au0828-i2c.c +++ b/drivers/media/video/au0828/au0828-i2c.c @@ -29,11 +29,7 @@ #include <media/v4l2-common.h> -unsigned int i2c_debug; -module_param(i2c_debug, int, 0444); -MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]"); - -unsigned int i2c_scan; +static int i2c_scan; module_param(i2c_scan, int, 0444); MODULE_PARM_DESC(i2c_scan, "scan i2c bus at insmod time"); |