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
/
usb
/
host
/
ehci-cns3xxx.c
diff --git
a/drivers/usb/host/ehci-cns3xxx.c
b/drivers/usb/host/ehci-cns3xxx.c
index d41745c6f0c47edbe5632683ccaeaa5bce0aaa05..6536abdea6e6f117e0f5ea99968a069c96e35e62 100644
(file)
--- a/
drivers/usb/host/ehci-cns3xxx.c
+++ b/
drivers/usb/host/ehci-cns3xxx.c
@@
-107,7
+107,7
@@
static int cns3xxx_ehci_probe(struct platform_device *pdev)
}
hcd->rsrc_start = res->start;
- hcd->rsrc_len = res
->end - res->start + 1
;
+ hcd->rsrc_len = res
ource_size(res)
;
if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len,
driver->description)) {
This page took
0.025204 seconds
and
5
git commands to generate.