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
treewide: Convert uses of struct resource to resource_size(ptr)
[pandora-kernel.git]
/
arch
/
mips
/
pci
/
pci-rc32434.c
diff --git
a/arch/mips/pci/pci-rc32434.c
b/arch/mips/pci/pci-rc32434.c
index
f31218e
..
764362c
100644
(file)
--- a/
arch/mips/pci/pci-rc32434.c
+++ b/
arch/mips/pci/pci-rc32434.c
@@
-215,7
+215,7
@@
static int __init rc32434_pci_init(void)
rc32434_pcibridge_init();
io_map_base = ioremap(rc32434_res_pci_io1.start,
-
rc32434_res_pci_io1.end - rc32434_res_pci_io1.start + 1
);
+
resource_size(&rcrc32434_res_pci_io1)
);
if (!io_map_base)
return -ENOMEM;