diff options
author | Jingoo Han | 2012-11-18 21:35:55 -0800 |
---|---|---|
committer | Bryan Wu | 2012-11-26 14:28:51 -0800 |
commit | 057407c732b7761cf417a1e6633a02d9d473340d (patch) | |
tree | 60b3e4d38b7e9b16eeafd776148bac8fd82aca65 /drivers/leds | |
parent | a8df7b1ab70bfd6f261fa5e96985fca638299acc (diff) |
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')
0 files changed, 0 insertions, 0 deletions