diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-02-09 22:57:13 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:20:16 -0400 |
commit | c391e1b9ebfe31514fa95a0cdd30c2cbc9652c89 (patch) | |
tree | a126e9621172ead9bede04f2413fa79ffd3871d2 /drivers/mmc/host/tmio_mmc.h | |
parent | 58126c878b4a4f658015e383614bafb6331e46d3 (diff) | |
download | blackbird-op-linux-c391e1b9ebfe31514fa95a0cdd30c2cbc9652c89.tar.gz blackbird-op-linux-c391e1b9ebfe31514fa95a0cdd30c2cbc9652c89.zip |
mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data
The controller power status flag does not have to be accessed from the
hot-plug detection code any more, it can now be removed from the platform
data and put in the controller private struct.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index ede2f4e5b952..edfcfd767511 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -49,6 +49,9 @@ struct tmio_mmc_host { struct mmc_host *mmc; unsigned int sdio_irq_enabled; + /* Controller power state */ + bool power; + /* Callbacks for clock / power control */ void (*set_pwr)(struct platform_device *host, int state); void (*set_clk_div)(struct platform_device *host, int state); |