The enum led_brightness, which contains the declaration of LED_OFF, LED_ON, LED_HALF and LED_FULL is obsolete, as the led class now supports max_brightness. --- include/linux/leds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/leds.h b/include/linux/leds.h index ba4861ec73d3..814541e41ce0 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -597,7 +597,7 @@ void ledtrig_audio_set(enum led_audio type, enum led_brightness state); #else static inline enum led_brightness ledtrig_audio_get(enum led_audio type) { - return LED_OFF; + return 0; } static inline void ledtrig_audio_set(enum led_audio type, enum led_brightness state) -- 2.34.1