summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2009-11-09 09:13:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:42:01 -0200
commite53a70b4725f0a5e10e659c8352696548b9b9478 (patch)
tree5794b3414aa9df4256b30a47ec13b31d860cdac6 /include/media
parent204e6ea981ac46974508ddf403dbb72dc804dcb3 (diff)
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/media')
-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 71d8982e13f..d863e5e8426 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 */