summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-11 09:30:53 -0700
committerBryan Wu <cooloney@gmail.com>2014-03-11 10:29:08 -0700
commitd9e8928f83d76263d09e1a1eef0dab82e4a81a17 (patch)
tree86fef3e4f72fb83a39e43fda9446d7cfb386b5f3 /drivers/leds
parent472b854bbc0b55de850faa802250fc1aa7692e45 (diff)
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. 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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 93466d21570..2394659715f 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -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.