summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-02-09 22:57:13 +0100
committerChris Ball <cjb@laptop.org>2012-03-27 18:20:16 +0200
commitc391e1b9ebfe31514fa95a0cdd30c2cbc9652c89 (patch)
treea126e9621172ead9bede04f2413fa79ffd3871d2 /drivers/mmc/host/tmio_mmc.h
parentmmc: sh_mobile_sdhi: pass card hotplug GPIO number to TMIO MMC (diff)
downloadlinux-c391e1b9ebfe31514fa95a0cdd30c2cbc9652c89.tar.xz
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.h3
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);