From: Daniel Mack Date: Sun, 10 Jan 2010 12:27:54 +0000 (+0100) Subject: leds: ALIX2: Add dependency to !GPIO_CS5335 X-Git-Tag: Ubuntu-5.2.0-15.16~25622^2~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=936034026280facd7050c96c3b28339f28b09cdd;p=mirror_ubuntu-eoan-kernel.git 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 Signed-off-by: Richard Purdie --- 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 config LEDS_ALIX2 tristate "LED Support for ALIX.2 and ALIX.3 series" - depends on LEDS_CLASS && X86 && EXPERIMENTAL + depends on LEDS_CLASS && X86 && !GPIO_CS5535 && !CS5535_GPIO help This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs. You have to set leds-alix2.force=1 for boards with Award BIOS.