diff options
Diffstat (limited to 'drivers/mmc/host/bfin_sdh.c')
-rw-r--r-- | drivers/mmc/host/bfin_sdh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c index 4b0e677d7295..0371bf502249 100644 --- a/drivers/mmc/host/bfin_sdh.c +++ b/drivers/mmc/host/bfin_sdh.c | |||
@@ -462,14 +462,14 @@ static int __devinit sdh_probe(struct platform_device *pdev) | |||
462 | goto out; | 462 | goto out; |
463 | } | 463 | } |
464 | 464 | ||
465 | mmc = mmc_alloc_host(sizeof(*mmc), &pdev->dev); | 465 | mmc = mmc_alloc_host(sizeof(struct sdh_host), &pdev->dev); |
466 | if (!mmc) { | 466 | if (!mmc) { |
467 | ret = -ENOMEM; | 467 | ret = -ENOMEM; |
468 | goto out; | 468 | goto out; |
469 | } | 469 | } |
470 | 470 | ||
471 | mmc->ops = &sdh_ops; | 471 | mmc->ops = &sdh_ops; |
472 | mmc->max_phys_segs = 32; | 472 | mmc->max_segs = 32; |
473 | mmc->max_seg_size = 1 << 16; | 473 | mmc->max_seg_size = 1 << 16; |
474 | mmc->max_blk_size = 1 << 11; | 474 | mmc->max_blk_size = 1 << 11; |
475 | mmc->max_blk_count = 1 << 11; | 475 | mmc->max_blk_count = 1 << 11; |