mfd: Allow compile test of GPIO consumers if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 5 May 2015 16:32:27 +0000 (18:32 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 22 Jun 2015 11:25:06 +0000 (12:25 +0100)
commit6fafecc12ddfd5d02be531de081e4ea9cb8db02f
tree83fd204e102504fc81469b717a0f661c94a31111
parent8be4efad81d814b607cbdad47176f426be83ba75
mfd: Allow compile test of GPIO consumers 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 on GPIOLIB if COMPILE_TEST is enabled, where
appropriate.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig