diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2009-01-06 15:37:03 +0100 |
---|---|---|
committer | Erik Andr?n <erik.andren@gmail.com> | 2009-01-06 15:37:03 +0100 |
commit | c68a15e5fab71a90d3dfcd8d802e34bc626930e6 (patch) | |
tree | a8ddf7f089f5c706ddb62a994b92a3e67b962df2 /linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h | |
parent | 72bb295f8641a2feeb71a7ba98d8a29eb2112a30 (diff) | |
download | mediapointer-dvb-s2-c68a15e5fab71a90d3dfcd8d802e34bc626930e6.tar.gz mediapointer-dvb-s2-c68a15e5fab71a90d3dfcd8d802e34bc626930e6.tar.bz2 |
gspca - m5602-s5k4aa: Convert to use the v4l2 ctrl cache
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h index ca854d4f9..958fb72d4 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h +++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.h @@ -67,6 +67,7 @@ int s5k4aa_probe(struct sd *sd); int s5k4aa_init(struct sd *sd); int s5k4aa_start(struct sd *sd); int s5k4aa_power_down(struct sd *sd); +void s5k4aa_disconnect(struct sd *sd); int s5k4aa_get_exposure(struct gspca_dev *gspca_dev, __s32 *val); int s5k4aa_set_exposure(struct gspca_dev *gspca_dev, __s32 val); @@ -79,12 +80,14 @@ int s5k4aa_set_gain(struct gspca_dev *gspca_dev, __s32 val); static const struct m5602_sensor s5k4aa = { .name = "S5K4AA", + .i2c_slave_id = 0x5a, + .i2c_regW = 2, + .probe = s5k4aa_probe, .init = s5k4aa_init, .start = s5k4aa_start, .power_down = s5k4aa_power_down, - .i2c_slave_id = 0x5a, - .i2c_regW = 2, + .disconnect = s5k4aa_disconnect, }; static const unsigned char preinit_s5k4aa[][4] = |