Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195844
b: refs/heads/master
c: cbd38a8
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and David Woodhouse committed Dec 31, 2009
1 parent 437ec76 commit a2ff2fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 448791abfb64f097e6d6c5f71df68fd072def5b3
refs/heads/master: cbd38a875fd890c3c2f196dd3370d90fd3ecb7f5
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/sh_flctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ static int __init flctl_probe(struct platform_device *pdev)
goto err;
}

flctl->reg = ioremap(res->start, res->end - res->start + 1);
flctl->reg = ioremap(res->start, resource_size(res));
if (flctl->reg == NULL) {
printk(KERN_ERR "%s: ioremap error.\n", __func__);
ret = -ENOMEM;
Expand Down

0 comments on commit a2ff2fd

Please sign in to comment.