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
/
tty
/
serial
/
pxa.c
diff --git
a/drivers/tty/serial/pxa.c
b/drivers/tty/serial/pxa.c
index 4302e6e3768e504d76f63d2be40198195c303290..531931c1b250129508040c2a2c78425827159951 100644
(file)
--- a/
drivers/tty/serial/pxa.c
+++ b/
drivers/tty/serial/pxa.c
@@
-803,7
+803,7
@@
static int serial_pxa_probe(struct platform_device *dev)
break;
}
- sport->port.membase = ioremap(mmres->start,
mmres->end - mmres->start + 1
);
+ sport->port.membase = ioremap(mmres->start,
resource_size(mmres)
);
if (!sport->port.membase) {
ret = -ENOMEM;
goto err_clk;
This page took
0.024386 seconds
and
5
git commands to generate.