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)
commit9ab1963d83fd5709037f2ef62cfe0062c538fe83
treeb012fd6d4bf2f56cfc68b9b75025d5d504b762dc
parent403097f7205dcf8e6a53091063b6a4b847d35484
leds: leds-gpio: Allow compile test 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 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
This page took 0.024974 seconds and 5 git commands to generate.