diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-05-05 18:32:25 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-08-28 14:05:57 +0200 |
commit | 823227419588001f2d4accf3c5660cd99442a0f8 (patch) | |
tree | c604a7baa786af4636de0f7945377554e83445ee /drivers/leds/leds-lm3530.c | |
parent | DT: leds: Improve description of flash LEDs related properties (diff) | |
download | linux-823227419588001f2d4accf3c5660cd99442a0f8.tar.xz linux-823227419588001f2d4accf3c5660cd99442a0f8.zip |
leds: 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>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-lm3530.c')
0 files changed, 0 insertions, 0 deletions