forked from luck/tmp_suning_uos_patched
spi: Allow compile test of bcm2835aux if !GPIOLIB
The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. Relax the dependency of SPI_BCM2835AUX on GPIOLIB if COMPILE_TEST is enabled. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
92e963f50f
commit
0697ae80fe
|
@ -90,8 +90,7 @@ config SPI_BCM2835
|
||||||
|
|
||||||
config SPI_BCM2835AUX
|
config SPI_BCM2835AUX
|
||||||
tristate "BCM2835 SPI auxiliary controller"
|
tristate "BCM2835 SPI auxiliary controller"
|
||||||
depends on ARCH_BCM2835 || COMPILE_TEST
|
depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
|
||||||
depends on GPIOLIB
|
|
||||||
help
|
help
|
||||||
This selects a driver for the Broadcom BCM2835 SPI aux master.
|
This selects a driver for the Broadcom BCM2835 SPI aux master.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user