V4L/DVB (13464): Davinci VPFE Capture: add i2c adapter id in platform data
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 9 Nov 2009 12:13:20 +0000 (09:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:01 +0000 (18:42 -0200)
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>
include/media/davinci/vpfe_capture.h

index 71d8982..d863e5e 100644 (file)
@@ -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 */