Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364347
b: refs/heads/master
c: 8c3ec38
h: refs/heads/master
i:
  364345: 8b2d2e2
  364343: ce824d8
v: v3
  • Loading branch information
Roger Quadros authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 856e16d commit ca3fef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 3414211b914464113ba3cd19726e44b5e416087d
refs/heads/master: 8c3ec38550a6b880738c8b1982f9207d0fd5a339
5 changes: 2 additions & 3 deletions trunk/drivers/usb/host/ohci-omap3.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,13 @@ static int ohci_hcd_omap3_probe(struct platform_device *pdev)
return -ENODEV;
}

irq = platform_get_irq_byname(pdev, "ohci-irq");
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
dev_err(dev, "OHCI irq failed\n");
return -ENODEV;
}

res = platform_get_resource_byname(pdev,
IORESOURCE_MEM, "ohci");
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!res) {
dev_err(dev, "UHH OHCI get resource failed\n");
return -ENOMEM;
Expand Down

0 comments on commit ca3fef3

Please sign in to comment.