summaryrefslogtreecommitdiffstats
path: root/include/media/davinci
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2016-12-07 16:30:22 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 07:59:12 -0200
commit2d40cb3f0d710bb4c656f9b2f021c964f501baea (patch)
tree07f0c2bf85dc9d897cef42883a2c8db865dca4f8 /include/media/davinci
parentbff782d78a96ff9bd50fd6d726fdb9d4b033795e (diff)
downloadlinux-2d40cb3f0d710bb4c656f9b2f021c964f501baea.tar.gz
linux-2d40cb3f0d710bb4c656f9b2f021c964f501baea.tar.bz2
linux-2d40cb3f0d710bb4c656f9b2f021c964f501baea.zip
[media] davinci: vpif_capture: remove hard-coded I2C adapter id
Remove hard-coded I2C adapter in favor of getting the ID from platform_data. Signed-off-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/davinci')
-rw-r--r--include/media/davinci/vpif_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/davinci/vpif_types.h b/include/media/davinci/vpif_types.h
index 11b0516b48c2..c49c306cba61 100644
--- a/include/media/davinci/vpif_types.h
+++ b/include/media/davinci/vpif_types.h
@@ -78,6 +78,7 @@ struct vpif_capture_config {
struct vpif_capture_chan_config chan_config[VPIF_CAPTURE_MAX_CHANNELS];
struct vpif_subdev_info *subdev_info;
int subdev_count;
+ int i2c_adapter_id;
const char *card_name;
struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
int *asd_sizes; /* 0-terminated array of asd group sizes */