Since other device enumerate mechanisms are currently not implemented, make the hi846 sensor driver depend on CONFIG_OF. Signed-off-by: Martin Kepplinger <martin.kepplinger@xxxxxxx> --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 0e56489c97fb..53268f1f761f 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -746,6 +746,7 @@ config VIDEO_HI556 config VIDEO_HI846 tristate "Hynix Hi-846 sensor support" depends on I2C && VIDEO_V4L2 + depends on OF select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE -- 2.30.2