diff options
Diffstat (limited to 'drivers/mmc/host/sdhci-iproc.c')
-rw-r--r-- | drivers/mmc/host/sdhci-iproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 4139d34971ad..3b423b0ad8e7 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c | |||
@@ -97,7 +97,7 @@ static inline void sdhci_iproc_writel(struct sdhci_host *host, u32 val, int reg) | |||
97 | static void sdhci_iproc_writew(struct sdhci_host *host, u16 val, int reg) | 97 | static void sdhci_iproc_writew(struct sdhci_host *host, u16 val, int reg) |
98 | { | 98 | { |
99 | struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); | 99 | struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); |
100 | struct sdhci_iproc_host *iproc_host = pltfm_host->priv; | 100 | struct sdhci_iproc_host *iproc_host = sdhci_pltfm_priv(pltfm_host); |
101 | u32 word_shift = REG_OFFSET_IN_BITS(reg); | 101 | u32 word_shift = REG_OFFSET_IN_BITS(reg); |
102 | u32 mask = 0xffff << word_shift; | 102 | u32 mask = 0xffff << word_shift; |
103 | u32 oldval, newval; | 103 | u32 oldval, newval; |