summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/m5602/m5602_sensor.h
diff options
context:
space:
mode:
authorHans de Goede2013-02-19 18:57:03 +0100
committerMauro Carvalho Chehab2013-03-05 19:10:27 +0100
commitc84e412f6f3be6ba262b1b9691ce57593b576c90 (patch)
tree85ade22c9f632e5f09dbfc30d54f1b9561a46fc6 /drivers/media/usb/gspca/m5602/m5602_sensor.h
parent[media] gscpa_gl860: Convert to the control framework (diff)
downloadkernel-qcow2-linux-c84e412f6f3be6ba262b1b9691ce57593b576c90.tar.gz
kernel-qcow2-linux-c84e412f6f3be6ba262b1b9691ce57593b576c90.tar.xz
kernel-qcow2-linux-c84e412f6f3be6ba262b1b9691ce57593b576c90.zip
[media] gscpa_m5602: Convert to the control framework
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/gspca/m5602/m5602_sensor.h')
-rw-r--r--drivers/media/usb/gspca/m5602/m5602_sensor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/gspca/m5602/m5602_sensor.h b/drivers/media/usb/gspca/m5602/m5602_sensor.h
index edff4f1f586f..48341b4d607b 100644
--- a/drivers/media/usb/gspca/m5602/m5602_sensor.h
+++ b/drivers/media/usb/gspca/m5602/m5602_sensor.h
@@ -57,6 +57,9 @@ struct m5602_sensor {
/* Performs a initialization sequence */
int (*init)(struct sd *sd);
+ /* Controls initialization, maybe NULL */
+ int (*init_controls)(struct sd *sd);
+
/* Executed when the camera starts to send data */
int (*start)(struct sd *sd);