From: Johannes Berg <[email protected]>

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 <[email protected]>
---
 backport/compat/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index 2dda9ac..91531c3 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -146,7 +146,7 @@ config BACKPORT_BUILD_DMA_SHARED_HELPERS
 
 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
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to