]> 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)
commitb846f293c6e6b8eba4ca605598e61c71c1e61ba3
tree83fd204e102504fc81469b717a0f661c94a31111
parentf545930d69de865dddf5d01a3caffd8c73252110
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