aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-01-10 07:27:54 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-16 15:49:20 -0400
commit936034026280facd7050c96c3b28339f28b09cdd (patch)
tree124e81e0b0ee6e15bfb1848af792a7945c575da1
parenta3d3203e4bb40f253b1541e310dc0f9305be7c84 (diff)
leds: ALIX2: Add dependency to !GPIO_CS5335
The ALIX2 LED driver and the CS5535 GPIO drivers share the same I/O range which causes a conflict if they're both enabled. Fix this for now by adding Kconfig dependencies. While at it, also drop the EXPERIMENTAL flag, as the code has been around for awhile already. Note that this is a hack. At some point, a real platform support for this board should be added which handles the LEDs via the leds-gpio driver. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--drivers/leds/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index e0b64312e66a..023eda6dfdb6 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -79,7 +79,7 @@ config LEDS_WRAP
79 79
80config LEDS_ALIX2 80config LEDS_ALIX2
81 tristate "LED Support for ALIX.2 and ALIX.3 series" 81 tristate "LED Support for ALIX.2 and ALIX.3 series"
82 depends on LEDS_CLASS && X86 && EXPERIMENTAL 82 depends on LEDS_CLASS && X86 && !GPIO_CS5535 && !CS5535_GPIO
83 help 83 help
84 This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs. 84 This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs.
85 You have to set leds-alix2.force=1 for boards with Award BIOS. 85 You have to set leds-alix2.force=1 for boards with Award BIOS.