sdhci: handle built-in sdhci with modular leds class
commitf9134319c81c6c56e0ddf38e7adac2492b243d9b
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 21 Dec 2008 16:01:48 +0000 (21 17:01 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 17:18:13 +0000 (31 18:18 +0100)
tree953e14c5d264a8283c39b859c2dd1bde52f36fa8
parentca4f10563929b932ed8970fda41a7f99385e4b0b
sdhci: handle built-in sdhci with modular leds class

As reported by Randy Dunlap, having sdhci built-in and LEDs class
as a module resulted in undefined symbols. Change the code to handle
that case properly (by not having LEDs class support in sdhci).

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c