max9286: Depend on OF_GPIO
PATCH 1/1 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 <[email protected]>
Signed-off-by Sakari Ailus <[email protected]>
--- drivers/media/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/i2c/Kconfig +1 -1
@@ -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
Signature · 1 line
2.27.0
Hi Sakari,
Quoted 6 lines · Sakari Ailus
The driver expects struct
gpio_chiphasof_nodefield and that field is only there ifCONFIG_OF_GPIOis defined. Fix this by changing the OF dependency toOF_GPIO.Reported-by kernel test robot <[email protected]>Signed-off-by Sakari Ailus <[email protected]>
Reviewed-by Kieran Bingham <[email protected]>
Quoted 18 lines
--- drivers/media/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/i2c/Kconfig +1
-1@@ -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