Somehow !LEDS_CLASS and LEDS_CLASS=n seem to be different (likely
because LEDS_CLASS is tristate, but BACKPORT_BUILD_LEDS is just a
bool), so use LEDS_CLASS=n to fix build issues in other cases on
certain kernel configurations.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config BACKPORT_BUILD_LEDS
bool
- depends on !NEW_LEDS || !LEDS_CLASS || !LEDS_TRIGGERS
+ depends on !NEW_LEDS || LEDS_CLASS=n || !LEDS_TRIGGERS
default y if BACKPORT_NEW_LEDS
default y if BACKPORT_LEDS_CLASS
default y if BACKPORT_LEDS_TRIGGERS