projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Convert uses of struct resource to resource_size(ptr)
[deliverable/linux.git]
/
drivers
/
rtc
/
rtc-m48t59.c
diff --git
a/drivers/rtc/rtc-m48t59.c
b/drivers/rtc/rtc-m48t59.c
index 3978f4caf724df35449a8f84c34e897f26c2cee8..28365388fb6c8665a96c9d7fb68638300d748dc0 100644
(file)
--- a/
drivers/rtc/rtc-m48t59.c
+++ b/
drivers/rtc/rtc-m48t59.c
@@
-433,7
+433,7
@@
static int __devinit m48t59_rtc_probe(struct platform_device *pdev)
if (!m48t59->ioaddr) {
/* ioaddr not mapped externally */
- m48t59->ioaddr = ioremap(res->start, res
->end - res->start + 1
);
+ m48t59->ioaddr = ioremap(res->start, res
ource_size(res)
);
if (!m48t59->ioaddr)
goto out;
}
This page took
0.023646 seconds
and
5
git commands to generate.