diff options
author | Erik Andrén <erik.andren@gmail.com> | 2008-11-26 02:01:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:51 -0500 |
commit | 4b8f393391c0492ebec1277d073203392c90677d (patch) | |
tree | 9cb9ab0899e3b3b15dcfad82616213e292603a07 /drivers/media/video/gspca/m5602/m5602_sensor.h | |
parent | d58626c21d8cafe56eb8cdf883d1d6710dc3fc81 (diff) |
V4L/DVB (10012): m5602: Start to unify read/write sensor functions
First step into unifying the read and write sensor functions
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.h | 3 |
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 c0900023680e..23c0ef9489fe 100644 --- a/drivers/media/video/gspca/m5602/m5602_sensor.h +++ b/drivers/media/video/gspca/m5602/m5602_sensor.h | |||
@@ -49,6 +49,9 @@ struct m5602_sensor { | |||
49 | /* What i2c address the sensor is connected to */ | 49 | /* What i2c address the sensor is connected to */ |
50 | u8 i2c_slave_id; | 50 | u8 i2c_slave_id; |
51 | 51 | ||
52 | /* Width of each i2c register (in bytes) */ | ||
53 | u8 i2c_regW; | ||
54 | |||
52 | /* Probes if the sensor is connected */ | 55 | /* Probes if the sensor is connected */ |
53 | int (*probe)(struct sd *sd); | 56 | int (*probe)(struct sd *sd); |
54 | 57 | ||