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]
/
arch
/
powerpc
/
sysdev
/
fsl_msi.c
diff --git
a/arch/powerpc/sysdev/fsl_msi.c
b/arch/powerpc/sysdev/fsl_msi.c
index 92e78333c47cca84490f8022126b4a4bee149cc5..419a77239bd7a31833952024ffaae3d3587160a3 100644
(file)
--- a/
arch/powerpc/sysdev/fsl_msi.c
+++ b/
arch/powerpc/sysdev/fsl_msi.c
@@
-349,7
+349,7
@@
static int __devinit fsl_of_msi_probe(struct platform_device *dev)
goto error_out;
}
- msi->msi_regs = ioremap(res.start, res
.end - res.start + 1
);
+ msi->msi_regs = ioremap(res.start, res
ource_size(&res)
);
if (!msi->msi_regs) {
dev_err(&dev->dev, "ioremap problem failed\n");
goto error_out;
This page took
0.024723 seconds
and
5
git commands to generate.