diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-05-07 11:08:10 +0300 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2015-05-25 23:26:46 +0300 |
commit | 9ab1963d83fd5709037f2ef62cfe0062c538fe83 (patch) | |
tree | b012fd6d4bf2f56cfc68b9b75025d5d504b762dc /drivers/spi/spi-sun4i.c | |
parent | 403097f7205dcf8e6a53091063b6a4b847d35484 (diff) | |
download | linux-9ab1963d83fd5709037f2ef62cfe0062c538fe83.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-sun4i.c')
0 files changed, 0 insertions, 0 deletions