Skip to content
Commit 057407c7 authored by Jingoo Han's avatar Jingoo Han Committed by Bryan Wu
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarFabio Baltieri <fabio.baltieri@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent a8df7b1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment