Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303878
b: refs/heads/master
c: 7a82f61
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Ferre authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 5eb8780 commit bc0f392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b18389dd4fe0b178117b09d054e214297f7e677
refs/heads/master: 7a82f612fa3aadb5676184ae202903f5a42e4f4a
2 changes: 1 addition & 1 deletion trunk/drivers/usb/host/ohci-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int __devinit usb_hcd_at91_probe(const struct hc_driver *driver,
if (!hcd)
return -ENOMEM;
hcd->rsrc_start = pdev->resource[0].start;
hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1;
hcd->rsrc_len = resource_size(&pdev->resource[0]);

if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) {
pr_debug("request_mem_region failed\n");
Expand Down

0 comments on commit bc0f392

Please sign in to comment.