diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-28 12:07:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 18:32:24 +0300 |
commit | 3eefe36cc00c5391b1ca2a68c5f01e9aa127c2a6 (patch) | |
tree | 92b2b06271a9d8735d1b66c8c216eca3b69a57c2 /include/linux/platform_data/media/mmp-camera.h | |
parent | 83c40e6611ec1e548ece34f6940f516333abc16a (diff) | |
download | linux-3eefe36cc00c5391b1ca2a68c5f01e9aa127c2a6.tar.xz |
media: marvell-ccic: use async notifier to get the sensor
An instance of a sensor on DT-based MMP2 platform is always going to be
created asynchronously.
Let's move the manual device creation away from the core to the Cafe
driver (used on OLPC XO-1, not present in DT) and set up appropriate
async matches: I2C on Cafe, FWNODE on MMP (OLPC XO-1.75).
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/linux/platform_data/media/mmp-camera.h')
-rw-r--r-- | include/linux/platform_data/media/mmp-camera.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/media/mmp-camera.h b/include/linux/platform_data/media/mmp-camera.h index 4c3a80a45883..c573ebc40035 100644 --- a/include/linux/platform_data/media/mmp-camera.h +++ b/include/linux/platform_data/media/mmp-camera.h @@ -12,7 +12,6 @@ enum dphy3_algo { }; struct mmp_camera_platform_data { - struct platform_device *i2c_device; int sensor_power_gpio; int sensor_reset_gpio; enum v4l2_mbus_type bus_type; |