Răsfoiți Sursa

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>
Jean Delvare 11 ani în urmă
părinte
comite
d9e8928f83
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/leds/Kconfig

+ 1 - 1
drivers/leds/Kconfig

@@ -474,7 +474,7 @@ config LEDS_LM355x
 
 
 config LEDS_OT200
 config LEDS_OT200
 	tristate "LED support for the Bachmann 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
 	help
 	  This option enables support for the LEDs on the Bachmann OT200.
 	  This option enables support for the LEDs on the Bachmann OT200.
 	  Say Y to enable LEDs on the Bachmann OT200.
 	  Say Y to enable LEDs on the Bachmann OT200.