diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-03-17 10:29:38 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 20:05:27 +0200 |
commit | 2f730fec83be76f1b3b8f0066b3447f55c50d7a0 (patch) | |
tree | 1535e9ae05511c44feea173b1c2fd935d1945ae3 /drivers/mmc/host/sdhci.h | |
parent | b69c9058907642f8e1b32076906755c6623ea060 (diff) | |
download | linux-2f730fec83be76f1b3b8f0066b3447f55c50d7a0.tar.bz2 |
sdhci: allow led to be controlled freely
Hook up the controller LED to the LED subsystem, allowing more flexible
control than simply indicating an ongoing request.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 3288e209ba44..7fb02e177a3d 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -168,6 +168,10 @@ struct sdhci_host { struct sdhci_chip *chip; struct mmc_host *mmc; /* MMC structure */ +#ifdef CONFIG_LEDS_CLASS + struct led_classdev led; /* LED control */ +#endif + spinlock_t lock; /* Mutex */ int flags; /* Host attributes */ |