]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fbdev: Allow compile test of GPIO consumers if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 2 Aug 2015 09:09:53 +0000 (11:09 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 20 Aug 2015 07:20:11 +0000 (10:20 +0300)
commit71540cfbe9d401f4848abc0e6b56a541307a47dd
tree109f7578c3a2d479e6e7ddf7abb106f7fca8ae67
parent6080a89357cc46f3450839a84af75c3d18f57772
fbdev: 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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/Kconfig