diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-11-19 06:35:55 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 23:28:51 +0100 |
commit | 057407c732b7761cf417a1e6633a02d9d473340d (patch) | |
tree | 60b3e4d38b7e9b16eeafd776148bac8fd82aca65 /drivers/leds/leds-lp5521.c | |
parent | leds: add led_trigger_rename function (diff) | |
download | linux-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