projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4dee9c
)
usb: Use resource_size function
author
Paul Vlase
<vlase.paul@gmail.com>
Sun, 10 Mar 2013 13:52:02 +0000
(15:52 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:48:09 +0000
(11:48 -0700)
Signed-off-by: Paul Vlase <vlase.paul@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-mv.c
b/drivers/usb/host/ehci-mv.c
index 3065809546b159c1966b87f5fe4cdc6c333bc3da..5cd9f96ed92df495147b9791d3cb5c44bc792548 100644
(file)
--- a/
drivers/usb/host/ehci-mv.c
+++ b/
drivers/usb/host/ehci-mv.c
@@
-225,7
+225,7
@@
static int mv_ehci_probe(struct platform_device *pdev)
(void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset);
hcd->rsrc_start = r->start;
- hcd->rsrc_len = r
->end - r->start + 1
;
+ hcd->rsrc_len = r
esource_size(r)
;
hcd->regs = ehci_mv->op_regs;
hcd->irq = platform_get_irq(pdev, 0);
This page took
0.025062 seconds
and
5
git commands to generate.