summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2023-03-16 11:21:49 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-03-20 16:32:18 +0100
commit71937240a472ee551ac8de0e7429b9d49884a388 (patch)
tree3c2a2d8aece171a097f87789f65bdc6e37e91970 /drivers/media/i2c
parentmedia: dt-bindings: media: convert meson-ir.txt to dt-schema (diff)
downloadlinux-71937240a472ee551ac8de0e7429b9d49884a388.tar.xz
linux-71937240a472ee551ac8de0e7429b9d49884a388.zip
media: ov2685: Select VIDEO_V4L2_SUBDEV_API
VIDEO_V4L2_SUBDEV_API is required for v4l2_subdev_get_pad_*() functions. Select it. Fixes: ("media: i2c: ov2685: Add .get_selection() support") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index c3d5952ca27e..f07fc7ea84f1 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -462,6 +462,7 @@ config VIDEO_OV2685
tristate "OmniVision OV2685 sensor support"
depends on VIDEO_DEV && I2C
select MEDIA_CONTROLLER
+ select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the OmniVision