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>
This commit is contained in:
parent
5fa2989f78
commit
b4bc3dcbef
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue