mmc: sdhci-iproc: fix oops in sdhci_iproc_writew
authorDmitry Torokhov <dtor@chromium.org>
Fri, 13 Mar 2015 01:11:01 +0000 (18:11 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:47 +0000 (14:13 +0100)
commitb1ddaa3d066f28b626a15b15b0dc377fee2e2406
tree378f1fe286c73053108312c65ad827bb8e564b6e
parent04e079cf6b24c794bbc52b04b370f84cb728540e
mmc: sdhci-iproc: fix oops in sdhci_iproc_writew

The driver co-allocates sdhci_iproc_host with sdhci_pltfm_host and so to
access it we need to use sdhci_pltfm_priv() and not pltfm_host->priv.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c