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 <lkp@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
bca82e3557
commit
8a30c017c9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue