summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pxav3.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2014-10-21 11:22:35 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-10 12:40:31 +0100
commitcc9571e85808dfc121e4fda5c75c9a3c3c75e514 (patch)
tree63916e4ac76578528fea98e68758dec4f2e469ee /drivers/mmc/host/sdhci-pxav3.c
parent668e84b20f7a76c7aacfc907906400b844561276 (diff)
downloadlinux-cc9571e85808dfc121e4fda5c75c9a3c3c75e514.tar.gz
linux-cc9571e85808dfc121e4fda5c75c9a3c3c75e514.tar.bz2
linux-cc9571e85808dfc121e4fda5c75c9a3c3c75e514.zip
mmc: sdhci-pxav3: Move private driver data to driver source
struct sdhci_pxa is only used in sdhci_pxa driver itself, so move it there. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pxav3.c')
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index b55c807982fe..48bc8179c8fc 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -58,6 +58,11 @@
#define SDCE_MISC_INT (1<<2)
#define SDCE_MISC_INT_EN (1<<1)
+struct sdhci_pxa {
+ u8 clk_enable;
+ u8 power_mode;
+};
+
/*
* These registers are relative to the second register region, for the
* MBus bridge.