From: Sakari Ailus Date: Mon, 3 Aug 2020 09:07:06 +0000 (+0200) Subject: media: max9286: Depend on OF_GPIO X-Git-Tag: v5.10.7~1607^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a30c017c99603b216907c2f7aa22d3afe4137c3;p=platform%2Fkernel%2Flinux-rpi.git media: max9286: Depend on OF_GPIO The driver expects struct gpio_chip has of_node field and that field is only there if CONFIG_OF_GPIO is defined. Fix this by changing the OF dependency to OF_GPIO. Reported-by: kernel test robot Signed-off-by: Sakari Ailus Reviewed-by: Kieran Bingham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index fa5b7e04d1fc..c7ba76fee599 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -467,7 +467,7 @@ config VIDEO_VPX3220 config VIDEO_MAX9286 tristate "Maxim MAX9286 GMSL deserializer support" depends on I2C && I2C_MUX - depends on OF + depends on OF_GPIO select V4L2_FWNODE select VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER