spi: Allow compile test of bcm2835aux if !GPIOLIB
[cascardo/linux.git] / drivers / spi / Kconfig
index 7706416..4e08d42 100644 (file)
@@ -90,8 +90,7 @@ config SPI_BCM2835
 
 config SPI_BCM2835AUX
        tristate "BCM2835 SPI auxiliary controller"
-       depends on ARCH_BCM2835 || COMPILE_TEST
-       depends on GPIOLIB
+       depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
        help
          This selects a driver for the Broadcom BCM2835 SPI aux master.