aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/platform_data/media/mmp-camera.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-05-28 05:07:30 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-24 11:32:24 -0400
commit3eefe36cc00c5391b1ca2a68c5f01e9aa127c2a6 (patch)
tree92b2b06271a9d8735d1b66c8c216eca3b69a57c2 /include/linux/platform_data/media/mmp-camera.h
parentmedia: marvell-ccic/mmp: add devicetree support (diff)
downloadwireguard-linux-3eefe36cc00c5391b1ca2a68c5f01e9aa127c2a6.tar.xz
wireguard-linux-3eefe36cc00c5391b1ca2a68c5f01e9aa127c2a6.zip
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.h1
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;