leds-ot200: Fix dependencies
authorJean Delvare <jdelvare@suse.de>
Tue, 11 Mar 2014 16:30:53 +0000 (09:30 -0700)
committerBryan Wu <cooloney@gmail.com>
Tue, 11 Mar 2014 17:29:08 +0000 (10:29 -0700)
The Bachmann OT200 is a Geode-based device, so OT200-specific drivers
are only useful on X86_32, except for build testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Bryan Wu <cooloney@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/Kconfig

index 93466d2..2394659 100644 (file)
@@ -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.