[media] adv7604/cobalt: Allow compile test if !GPIOLIB
[firefly-linux-kernel-4.4.55.git] / drivers / media / i2c / Kconfig
index 71ee8f586430991f886abf4449f1481e7621f293..8d1268648fe0b2912fa9e5ffe0df686c227cf84c 100644 (file)
@@ -196,7 +196,8 @@ config VIDEO_ADV7183
 
 config VIDEO_ADV7604
        tristate "Analog Devices ADV7604 decoder"
-       depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && GPIOLIB
+       depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
+       depends on GPIOLIB || COMPILE_TEST
        select HDMI
        ---help---
          Support for the Analog Devices ADV7604 video decoder.