summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-bcm2835.c
diff options
context:
space:
mode:
authorChristian Daudt <csd@broadcom.com>2013-05-29 20:50:05 (GMT)
committerChris Ball <cjb@laptop.org>2013-05-31 15:59:29 (GMT)
commit0e748234293f5f2caa8dbd152caba5efb754c707 (patch)
treed264cb090be41c375de32707478036f2374eb543 /drivers/mmc/host/sdhci-bcm2835.c
parent7396e318b497cd46eb156effa5278126582ddde7 (diff)
downloadlinux-fsl-qoriq-0e748234293f5f2caa8dbd152caba5efb754c707.tar.xz
mmc: sdhci: Add size for caller in init+register
Add a param to allow users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This is implemented in the same way as sdhci does for its users. None of the users have been migrated yet and are passing in zero to retain their private allocation. - todo: migrate clients to using allocation this way - todo: remove priv variable once migration is complete Also removed unused variable in sdhci_pltfm_init fn Signed-off-by: Christian Daudt <csd@broadcom.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-bcm2835.c')
-rw-r--r--drivers/mmc/host/sdhci-bcm2835.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-bcm2835.c b/drivers/mmc/host/sdhci-bcm2835.c
index d49bc95..0584a1c 100644
--- a/drivers/mmc/host/sdhci-bcm2835.c
+++ b/drivers/mmc/host/sdhci-bcm2835.c
@@ -148,7 +148,7 @@ static int bcm2835_sdhci_probe(struct platform_device *pdev)
struct sdhci_pltfm_host *pltfm_host;
int ret;
- host = sdhci_pltfm_init(pdev, &bcm2835_sdhci_pdata);
+ host = sdhci_pltfm_init(pdev, &bcm2835_sdhci_pdata, 0);
if (IS_ERR(host))
return PTR_ERR(host);