aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/m5602/m5602_sensor.h
diff options
context:
space:
mode:
authorLukas Karas <lukas.karas@centrum.cz>2008-12-28 14:09:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 21:44:37 -0300
commit4a7581f084ce308a448f4940ed2c664e9e3d78a1 (patch)
tree6ebb4b8f8bfc41a938e111cd42c7377253d126c7 /drivers/media/video/gspca/m5602/m5602_sensor.h
parentdc913258ffb3dd90d6bafdd9111565777b5aad08 (diff)
V4L/DVB (11408): gspca - m5602-s5k83a: Add led support to the s5k83a sensor.
This patch toggles the led seen on many laptops having a m5602 connected to a Samsung s5k83a sensor. Signed-off-by: Lukas Karas <lukas.karas@centrum.cz> Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_sensor.h')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_sensor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_sensor.h b/drivers/media/video/gspca/m5602/m5602_sensor.h
index 261623f0da4..8eed4cc0b41 100644
--- a/drivers/media/video/gspca/m5602/m5602_sensor.h
+++ b/drivers/media/video/gspca/m5602/m5602_sensor.h
@@ -61,6 +61,9 @@ struct m5602_sensor {
/* Executed when the camera starts to send data */
int (*start)(struct sd *sd);
+ /* Executed when the camera ends to send data */
+ int (*stop)(struct sd *sd);
+
/* Performs a power down sequence */
int (*power_down)(struct sd *sd);