diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-08 18:09:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:57:14 -0400 |
commit | b4bc3dcbefc0a359744ab13bc8b67c6cb5cd0086 (patch) | |
tree | b03c512d55625bca595c6298677023a90060feec /drivers | |
parent | 5fa2989f78a381ccc1cde219f0a3da942d6c1680 (diff) |
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')
-rw-r--r-- | drivers/media/video/gspca/cpia1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c index 92879c072e98..58b696f455be 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) | |||
1059 | 0, sd->params.streamStartLine, 0, 0); | 1059 | 0, sd->params.streamStartLine, 0, 0); |
1060 | } | 1060 | } |
1061 | 1061 | ||
1062 | #if 0 /* Currently unused */ | ||
1062 | static int command_setlights(struct gspca_dev *gspca_dev) | 1063 | static int command_setlights(struct gspca_dev *gspca_dev) |
1063 | { | 1064 | { |
1064 | struct sd *sd = (struct sd *) gspca_dev; | 1065 | struct sd *sd = (struct sd *) gspca_dev; |
@@ -1078,6 +1079,7 @@ static int command_setlights(struct gspca_dev *gspca_dev) | |||
1078 | return do_command(gspca_dev, CPIA_COMMAND_WriteMCPort, 2, 0, | 1079 | return do_command(gspca_dev, CPIA_COMMAND_WriteMCPort, 2, 0, |
1079 | p1 | p2 | 0xE0, 0); | 1080 | p1 | p2 | 0xE0, 0); |
1080 | } | 1081 | } |
1082 | #endif | ||
1081 | 1083 | ||
1082 | static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply) | 1084 | static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply) |
1083 | { | 1085 | { |