Commit b4bc3dcb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB: cpia1: comment unused command_setlights()

drivers/media/video/gspca/cpia1.c:1063: warning: ‘command_setlights’ defined but not used
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5fa2989f
...@@ -1059,6 +1059,7 @@ static int command_resume(struct gspca_dev *gspca_dev) ...@@ -1059,6 +1059,7 @@ static int command_resume(struct gspca_dev *gspca_dev)
0, sd->params.streamStartLine, 0, 0); 0, sd->params.streamStartLine, 0, 0);
} }
#if 0 /* Currently unused */
static int command_setlights(struct gspca_dev *gspca_dev) static int command_setlights(struct gspca_dev *gspca_dev)
{ {
struct sd *sd = (struct sd *) gspca_dev; struct sd *sd = (struct sd *) gspca_dev;
...@@ -1078,6 +1079,7 @@ static int command_setlights(struct gspca_dev *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, return do_command(gspca_dev, CPIA_COMMAND_WriteMCPort, 2, 0,
p1 | p2 | 0xE0, 0); p1 | p2 | 0xE0, 0);
} }
#endif
static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply) static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment