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
/
ohci-cns3xxx.c
diff --git
a/drivers/usb/host/ohci-cns3xxx.c
b/drivers/usb/host/ohci-cns3xxx.c
index f05ef87e934cb976f4eb9581f03927260cdd06d3..5a00a1e1c6ca680df5ac8e4dc952944abffa074b 100644
(file)
--- a/
drivers/usb/host/ohci-cns3xxx.c
+++ b/
drivers/usb/host/ohci-cns3xxx.c
@@
-100,7
+100,7
@@
static int cns3xxx_ohci_probe(struct platform_device *pdev)
goto err1;
}
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.026958 seconds
and
5
git commands to generate.