leds: leds-gpio: Allow compile test if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 7 May 2015 08:08:10 +0000 (01:08 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 25 May 2015 20:26:46 +0000 (13:26 -0700)
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 of LEDS_GPIO on GPIOLIB if COMPILE_TEST is
enabled.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/Kconfig

Simple merge