aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-05 01:00:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-07 22:18:55 -0200
commit26cdc76b2c0b24f7a9c33ab226ca6e4bbae3dbbb (patch)
treed72e7904a2a92c6118534ac21a1e392157d8513a /drivers/media/video/em28xx/em28xx-input.c
parentV4L/DVB (10176b): pxa-camera: fix redefinition warnings and missing DMA definitions (diff)
downloadlinux-dev-26cdc76b2c0b24f7a9c33ab226ca6e4bbae3dbbb.tar.xz
linux-dev-26cdc76b2c0b24f7a9c33ab226ca6e4bbae3dbbb.zip
V4L/DVB (10177): Fix sparse warnings on em28xx
/home/v4l/master/v4l/em28xx-core.c:396:25: warning: symbol 'outputs' was not declared. Should it be static? /home/v4l/master/v4l/em28xx-input.c:324:6: warning: symbol 'em28xx_ir_start' was not declared. Should it be static? /home/v4l/master/v4l/em28xx-cards.c:1925:5: warning: symbol 'em28xx_init_dev' was not declared. Should it be static? Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/em28xx/em28xx-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c
index 42bbaf64aceb..0443afe09ff8 100644
--- a/drivers/media/video/em28xx/em28xx-input.c
+++ b/drivers/media/video/em28xx/em28xx-input.c
@@ -307,7 +307,7 @@ static void em28xx_ir_work(struct work_struct *work)
mod_timer(&ir->timer, jiffies + msecs_to_jiffies(ir->polling));
}
-void em28xx_ir_start(struct em28xx_IR *ir)
+static void em28xx_ir_start(struct em28xx_IR *ir)
{
setup_timer(&ir->timer, ir_timer, (unsigned long)ir);
INIT_WORK(&ir->work, em28xx_ir_work);