summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/m5602/m5602_ov7660.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-02-19 14:57:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 15:10:27 -0300
commitc84e412f6f3be6ba262b1b9691ce57593b576c90 (patch)
tree85ade22c9f632e5f09dbfc30d54f1b9561a46fc6 /drivers/media/usb/gspca/m5602/m5602_ov7660.h
parent676fdd856b22fa384b09bdad3c81d8117feadbe6 (diff)
[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_ov7660.h')
-rw-r--r--drivers/media/usb/gspca/m5602/m5602_ov7660.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/gspca/m5602/m5602_ov7660.h b/drivers/media/usb/gspca/m5602/m5602_ov7660.h
index 2b6a13b508f7..6fece1ce1232 100644
--- a/drivers/media/usb/gspca/m5602/m5602_ov7660.h
+++ b/drivers/media/usb/gspca/m5602/m5602_ov7660.h
@@ -90,6 +90,8 @@ extern bool dump_sensor;
int ov7660_probe(struct sd *sd);
int ov7660_init(struct sd *sd);
+int ov7660_init(struct sd *sd);
+int ov7660_init_controls(struct sd *sd);
int ov7660_start(struct sd *sd);
int ov7660_stop(struct sd *sd);
void ov7660_disconnect(struct sd *sd);
@@ -100,6 +102,7 @@ static const struct m5602_sensor ov7660 = {
.i2c_regW = 1,
.probe = ov7660_probe,
.init = ov7660_init,
+ .init_controls = ov7660_init_controls,
.start = ov7660_start,
.stop = ov7660_stop,
.disconnect = ov7660_disconnect,