git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git]
/
drivers
/
rtc
/
rtc-pl031.c
diff --git
a/drivers/rtc/rtc-pl031.c
b/drivers/rtc/rtc-pl031.c
index
451fc13
..
f41873f
100644
(file)
--- a/
drivers/rtc/rtc-pl031.c
+++ b/
drivers/rtc/rtc-pl031.c
@@
-142,8
+142,7
@@
static int pl031_probe(struct amba_device *adev, struct amba_id *id)
goto out;
}
- ldata->base = ioremap(adev->res.start,
- adev->res.end - adev->res.start + 1);
+ ldata->base = ioremap(adev->res.start, resource_size(&adev->res));
if (!ldata->base) {
ret = -ENOMEM;
goto out_no_remap;