diff options
| author | 2019-10-06 04:38:38 -0300 | |
|---|---|---|
| committer | 2019-10-24 18:45:25 -0300 | |
| commit | c31e2febdeb2a58cfb1e37c73d411c8c3d75a72b (patch) | |
| tree | 626d6ba07b56380f4cdafdbe50c7436a107c5380 | |
| parent | media: ad5820: Add support for ad5821 and ad5823 (diff) | |
media: i2c: ov5695: Fix randbuild error
If VIDEO_OV5695 is y and V4L2_FWNODE is m, building fails:
drivers/media/i2c/ov5695.o: In function `ov5695_probe':
ov5695.c:(.text+0xf4c): undefined reference to `v4l2_async_register_subdev_sensor_common'
Select V4L2_FWNODE like OV5675 does.
Fixes: 623df5d710fe ("media: i2c: ov5695: Modify the function of async register subdev related devices")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
| -rw-r--r-- | drivers/media/i2c/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 30d460844dff..ae57f5c58b7b 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -729,6 +729,7 @@ config VIDEO_OV5675 config VIDEO_OV5695 tristate "OmniVision OV5695 sensor support" depends on I2C && VIDEO_V4L2 + select V4L2_FWNODE help This is a Video4Linux2 sensor driver for the OmniVision OV5695 camera. |
