]> git.baikalelectronics.ru Git - kernel.git/commit
leds: ALIX2: Add dependency to !GPIO_CS5335
authorDaniel Mack <daniel@caiaq.de>
Sun, 10 Jan 2010 12:27:54 +0000 (13:27 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 16 Mar 2010 19:49:20 +0000 (19:49 +0000)
commitfab74e659ee4361d2836a3579067e3cf5950cced
tree124e81e0b0ee6e15bfb1848af792a7945c575da1
parentaaf55587e13b383ac3f59cc5ea15f345e76d3d55
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>
drivers/leds/Kconfig