summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-08 22:09:13 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 15:57:14 (GMT)
commitb4bc3dcbefc0a359744ab13bc8b67c6cb5cd0086 (patch)
treeb03c512d55625bca595c6298677023a90060feec /drivers/media/video/gspca
parent5fa2989f78a381ccc1cde219f0a3da942d6c1680 (diff)
downloadlinux-fsl-qoriq-b4bc3dcbefc0a359744ab13bc8b67c6cb5cd0086.tar.xz
V4L/DVB: cpia1: comment unused command_setlights()
drivers/media/video/gspca/cpia1.c:1063: warning: ‘command_setlights’ defined but not used Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/cpia1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c
index 92879c0..58b696f 100644
--- a/drivers/media/video/gspca/cpia1.c
+++ b/drivers/media/video/gspca/cpia1.c
@@ -1059,6 +1059,7 @@ static int command_resume(struct gspca_dev *gspca_dev)
0, sd->params.streamStartLine, 0, 0);
}
+#if 0 /* Currently unused */
static int command_setlights(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
@@ -1078,6 +1079,7 @@ static int command_setlights(struct gspca_dev *gspca_dev)
return do_command(gspca_dev, CPIA_COMMAND_WriteMCPort, 2, 0,
p1 | p2 | 0xE0, 0);
}
+#endif
static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply)
{