diff options
author | Erik Andrén | 2008-11-26 08:01:40 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2008-12-30 12:39:51 +0100 |
commit | 4b8f393391c0492ebec1277d073203392c90677d (patch) | |
tree | 9cb9ab0899e3b3b15dcfad82616213e292603a07 /drivers/media/video/gspca/m5602/m5602_sensor.h | |
parent | V4L/DVB (10011): m5602: Remove the write and read sensor from the main struct (diff) | |
download | kernel-qcow2-linux-4b8f393391c0492ebec1277d073203392c90677d.tar.gz kernel-qcow2-linux-4b8f393391c0492ebec1277d073203392c90677d.tar.xz kernel-qcow2-linux-4b8f393391c0492ebec1277d073203392c90677d.zip |
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 { /* What i2c address the sensor is connected to */ u8 i2c_slave_id; + /* Width of each i2c register (in bytes) */ + u8 i2c_regW; + /* Probes if the sensor is connected */ int (*probe)(struct sd *sd); |