aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/led-triggers.c
diff options
context:
space:
mode:
authorGravatar Andrew F. Davis <afd@ti.com> 2016-06-21 14:35:07 +0200
committerGravatar Jacek Anaszewski <j.anaszewski@samsung.com> 2016-06-27 08:58:43 +0200
commitb1ae40a5db6191c42e2e45d726407096f030ee08 (patch)
tree532e2ac57d2a94116785d1da1270b689e947147a /drivers/leds/led-triggers.c
parentleds: Add no-op gpio_led_register_device when LED subsystem is disabled (diff)
downloadlinux-b1ae40a5db6191c42e2e45d726407096f030ee08.tar.gz
linux-b1ae40a5db6191c42e2e45d726407096f030ee08.tar.bz2
linux-b1ae40a5db6191c42e2e45d726407096f030ee08.zip
leds: Only descend into leds directory when CONFIG_NEW_LEDS is set
When CONFIG_NEW_LEDS is not set make will still descend into the leds directory but nothing will be built. This produces unneeded build artifacts and messages in addition to slowing the build. Fix this here. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/led-triggers.c')
0 files changed, 0 insertions, 0 deletions