spi: Allow compile test of bcm2835aux if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 7 Feb 2016 14:12:29 +0000 (15:12 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 8 Feb 2016 13:42:10 +0000 (13:42 +0000)
commit0697ae80fe3ccaf7d443fa5522fa7eeea34c19bb
treec415db9b3f4f860ce3dde0d8042c6aab7f1a159e
parent92e963f50fc74041b5e9e744c330dca48e04f08d
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>
drivers/spi/Kconfig