Skip to contentSkip to conversation

leds-ot200: Fix dependencies

PATCH In review Jean Delvare 2 participants 2 messages Mar 11, 2014 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds-ot200: Fix dependencies

The Bachmann OT200 is a Geode-based device, so OT200-specific drivers are only useful on X86_32, except for build testing.

Cc Bryan Wu <[email protected]>
Cc Richard Purdie <[email protected]>
---
 drivers/leds/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/Kconfig +1 -1
@@ -474,7 +474,7 @@ config LEDS_LM355x
 
 config LEDS_OT200
 	tristate "LED support for the Bachmann OT200"
-	depends on LEDS_CLASS && HAS_IOMEM
+	depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
 	help
 	  This option enables support for the LEDs on the Bachmann OT200.
 	  Say Y to enable LEDs on the Bachmann OT200.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 3 lines · Jean Delvare

The Bachmann OT200 is a Geode-based device, so OT200-specific drivers are only useful on X86_32, except for build testing.

Thanks, merged
-Bryan

Quoted 23 lines
Cc Bryan Wu <[email protected]>
Cc Richard Purdie <[email protected]>
---
 drivers/leds/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/Kconfig 2014-03-11 17:21:57.843560506 +0100 renamed from drivers/leds/Kconfig 2014-03-11 17:20:25.505429515 +0100 +1 -2
@@ -474,7 +474,7 @@ config LEDS_LM355x
 
 config LEDS_OT200
        tristate "LED support for the Bachmann OT200"
-       depends on LEDS_CLASS && HAS_IOMEM
+       depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
        help
          This option enables support for the LEDs on the Bachmann OT200.
          Say Y to enable LEDs on the Bachmann OT200.
 
 
--

Jean Delvare
SUSE L3 Support