Commit 8a30c017 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent bca82e35
...@@ -467,7 +467,7 @@ config VIDEO_VPX3220 ...@@ -467,7 +467,7 @@ config VIDEO_VPX3220
config VIDEO_MAX9286 config VIDEO_MAX9286
tristate "Maxim MAX9286 GMSL deserializer support" tristate "Maxim MAX9286 GMSL deserializer support"
depends on I2C && I2C_MUX depends on I2C && I2C_MUX
depends on OF depends on OF_GPIO
select V4L2_FWNODE select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API select VIDEO_V4L2_SUBDEV_API
select MEDIA_CONTROLLER select MEDIA_CONTROLLER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment