Browse Source

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>
Vaibhav Hiremath 15 years ago
parent
commit
e53a70b472
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/media/davinci/vpfe_capture.h

+ 2 - 0
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 */