]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8639b5912cd16a615dd7428591407df7bb92c6b5
tree83fd204e102504fc81469b717a0f661c94a31111
parentc51f972cad4207035b0143613a3a7638b1d2b82b
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