diff mbox series

[1/1] ov2685: Select VIDEO_V4L2_SUBDEV_API

Message ID 20230316102407.3936592-1-sakari.ailus@linux.intel.com
State Accepted
Commit 71937240a472ee551ac8de0e7429b9d49884a388
Headers show
Series [1/1] ov2685: Select VIDEO_V4L2_SUBDEV_API | expand

Commit Message

Sakari Ailus March 16, 2023, 10:24 a.m. UTC
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>
---
 drivers/media/i2c/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index c3d5952ca27e6..f07fc7ea84f1a 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