summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp5521.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-11-19 06:35:55 +0100
committerBryan Wu <cooloney@gmail.com>2012-11-26 23:28:51 +0100
commit057407c732b7761cf417a1e6633a02d9d473340d (patch)
tree60b3e4d38b7e9b16eeafd776148bac8fd82aca65 /drivers/leds/leds-lp5521.c
parentleds: add led_trigger_rename function (diff)
downloadlinux-057407c732b7761cf417a1e6633a02d9d473340d.tar.xz
linux-057407c732b7761cf417a1e6633a02d9d473340d.zip
led: Add dependency on CONFIG_LEDS_TRIGGERS to led_trigger_rename_static()
This patch fixes build warnings when CONFIG_LEDS_TRIGGERS is disabled as below: include/linux/leds.h:158:18: warning: 'struct led_trigger' declared inside parameter list [enabled by default] include/linux/leds.h:158:18: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Fabio Baltieri <fabio.baltieri@gmail.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp5521.c')
0 files changed, 0 insertions, 0 deletions