diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-25 18:06:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 08:29:57 -0400 |
commit | b33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa (patch) | |
tree | 4486546bbc7141bd3ad3b174e7c7c749a13174db /drivers/media/video/au0828/au0828-dvb.c | |
parent | b9ef6bbbbeaf65c6a452fe3c75c196f86e0d984d (diff) |
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-dvb.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-dvb.c b/drivers/media/video/au0828/au0828-dvb.c index 85d0ae9a322f..5040d7fc4af5 100644 --- a/drivers/media/video/au0828/au0828-dvb.c +++ b/drivers/media/video/au0828/au0828-dvb.c | |||
@@ -204,7 +204,7 @@ static int au0828_dvb_stop_feed(struct dvb_demux_feed *feed) | |||
204 | return ret; | 204 | return ret; |
205 | } | 205 | } |
206 | 206 | ||
207 | int dvb_register(struct au0828_dev *dev) | 207 | static int dvb_register(struct au0828_dev *dev) |
208 | { | 208 | { |
209 | struct au0828_dvb *dvb = &dev->dvb; | 209 | struct au0828_dvb *dvb = &dev->dvb; |
210 | int result; | 210 | int result; |