aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/bfin_sdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/bfin_sdh.c')
-rw-r--r--drivers/mmc/host/bfin_sdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index bac7d62..0371bf5 100644
--- a/drivers/mmc/host/bfin_sdh.c
+++ b/drivers/mmc/host/bfin_sdh.c
@@ -462,7 +462,7 @@ static int __devinit sdh_probe(struct platform_device *pdev)
goto out;
}
- mmc = mmc_alloc_host(sizeof(*mmc), &pdev->dev);
+ mmc = mmc_alloc_host(sizeof(struct sdh_host), &pdev->dev);
if (!mmc) {
ret = -ENOMEM;
goto out;