Skip to content

Commit 8a30c01

Browse files
Sakari Ailusmchehab
authored andcommitted
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 <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent bca82e3 commit 8a30c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ config VIDEO_VPX3220
467467
config VIDEO_MAX9286
468468
tristate "Maxim MAX9286 GMSL deserializer support"
469469
depends on I2C && I2C_MUX
470-
depends on OF
470+
depends on OF_GPIO
471471
select V4L2_FWNODE
472472
select VIDEO_V4L2_SUBDEV_API
473473
select MEDIA_CONTROLLER

0 commit comments

Comments
 (0)