summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2009-11-09 13:13:20 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 21:42:01 +0100
commite53a70b4725f0a5e10e659c8352696548b9b9478 (patch)
tree5794b3414aa9df4256b30a47ec13b31d860cdac6 /include
parentV4L/DVB (13463): Davinci VPFE Capture: Specify device pointer in videobuf_que... (diff)
downloadlinux-e53a70b4725f0a5e10e659c8352696548b9b9478.tar.xz
linux-e53a70b4725f0a5e10e659c8352696548b9b9478.zip
V4L/DVB (13464): Davinci VPFE Capture: add i2c adapter id in platform data
The I2C adapter ID is actually depends on Board and may vary, Davinci uses id=1, but in case of AM3517 id=3. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/davinci/vpfe_capture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/davinci/vpfe_capture.h b/include/media/davinci/vpfe_capture.h
index 71d8982e13ff..d863e5e8426d 100644
--- a/include/media/davinci/vpfe_capture.h
+++ b/include/media/davinci/vpfe_capture.h
@@ -83,6 +83,8 @@ struct vpfe_subdev_info {
struct vpfe_config {
/* Number of sub devices connected to vpfe */
int num_subdevs;
+ /* i2c bus adapter no */
+ int i2c_adapter_id;
/* information about each subdev */
struct vpfe_subdev_info *sub_devs;
/* evm card info */