summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-25 19:06:03 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-25 19:06:03 +0000
commit6f27a5778d71d98848ab2e69d46b3a8b82679d8b (patch)
tree5d84504187a22251a9e3eb938188ac8bce095c22 /linux/drivers/media/video/au0828/au0828-dvb.c
parent2611123d7ac352a37d2caed87c1dbb65222b5156 (diff)
downloadmediapointer-dvb-s2-6f27a5778d71d98848ab2e69d46b3a8b82679d8b.tar.gz
mediapointer-dvb-s2-6f27a5778d71d98848ab2e69d46b3a8b82679d8b.tar.bz2
au0828/ cleanups and fixes
From: Adrian Bunk <bunk@kernel.org> 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 'linux/drivers/media/video/au0828/au0828-dvb.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-dvb.c b/linux/drivers/media/video/au0828/au0828-dvb.c
index f911bbac6..20ffd9c37 100644
--- a/linux/drivers/media/video/au0828/au0828-dvb.c
+++ b/linux/drivers/media/video/au0828/au0828-dvb.c
@@ -209,7 +209,7 @@ static int au0828_dvb_stop_feed(struct dvb_demux_feed *feed)
return ret;
}
-int dvb_register(struct au0828_dev *dev)
+static int dvb_register(struct au0828_dev *dev)
{
struct au0828_dvb *dvb = &dev->dvb;
int result;