Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176623
b: refs/heads/master
c: a91912f
h: refs/heads/master
i:
  176621: 8c08e31
  176619: fbf0bba
  176615: 2ea6bad
  176607: d741ffb
v: v3
  • Loading branch information
Yoichi Yuasa authored and Linus Torvalds committed Dec 16, 2009
1 parent ffad6cc commit 2a10dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 43d15bcd4b6ba45fc45c99f5ef46e2528fb0dadf
refs/heads/master: a91912f8e4e92807d2cbf02d9687d421c1188f99
4 changes: 2 additions & 2 deletions trunk/drivers/rtc/rtc-vr41xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)
if (!res)
return -EBUSY;

rtc1_base = ioremap(res->start, res->end - res->start + 1);
rtc1_base = ioremap(res->start, resource_size(res));
if (!rtc1_base)
return -EBUSY;

Expand All @@ -337,7 +337,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)
goto err_rtc1_iounmap;
}

rtc2_base = ioremap(res->start, res->end - res->start + 1);
rtc2_base = ioremap(res->start, resource_size(res));
if (!rtc2_base) {
retval = -EBUSY;
goto err_rtc1_iounmap;
Expand Down

0 comments on commit 2a10dfe

Please sign in to comment.