aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/tmio_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 8a781e2ac4c3..1900abb04236 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -90,7 +90,7 @@ static int tmio_mmc_probe(struct platform_device *pdev)
90 return -EINVAL; 90 return -EINVAL;
91 91
92 /* SD control register space size is 0x200, 0x400 for bus_shift=1 */ 92 /* SD control register space size is 0x200, 0x400 for bus_shift=1 */
93 pdata->bus_shift = resource_size(res_ctl) >> 10; 93 pdata->bus_shift = resource_size(res) >> 10;
94 pdata->flags |= TMIO_MMC_HAVE_HIGH_REG; 94 pdata->flags |= TMIO_MMC_HAVE_HIGH_REG;
95 95
96 ret = tmio_mmc_host_probe(&host, pdev, pdata); 96 ret = tmio_mmc_host_probe(&host, pdev, pdata);