modify a small flaw in calling iomap function

This commit is contained in:
xbw
2011-08-09 14:50:12 +08:00
parent 10e078ae1a
commit 87ec53df0f

View File

@@ -2785,7 +2785,7 @@ static int rk29_sdmmc_probe(struct platform_device *pdev)
clk_enable(clk_get(&pdev->dev, "hclk_mmc"));
ret = -ENOMEM;
host->regs = ioremap(regs->start, regs->end - regs->start);
host->regs = ioremap(regs->start, regs->end - regs->start + 1);
if (!host->regs)
{
host->errorstep = 0x8A;