]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: Allow compile test of GPIO consumers if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 2 Aug 2015 09:08:47 +0000 (11:08 +0200)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:00:40 +0000 (01:00 +0200)
commit6008b1070c03b102bd7fed8e01f02a2662df061e
tree4eb20b0f18f945c196ae2dac6497716c50b5df76
parent98d3c1684af51ec79c1e7c0f037516802f36e0a9
tpm: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/st33zp24/Kconfig