Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364673
b: refs/heads/master
c: 2901df6
h: refs/heads/master
i:
  364671: fca8e84
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 15d6cc0 commit 151e793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8efeeef61d4f253aaa1a566a8e0d01b635c216d9
refs/heads/master: 2901df68499d75cb43d37495797f7ca73fb548a4
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/net2280.c
Original file line number Diff line number Diff line change
Expand Up @@ -2707,7 +2707,6 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id)
dev->gadget.max_speed = USB_SPEED_HIGH;

/* the "gadget" abstracts/virtualizes the controller */
dev->gadget.dev.release = gadget_release;
dev->gadget.name = driver_name;

/* now all the pci goodies ... */
Expand Down Expand Up @@ -2819,7 +2818,8 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id)
retval = device_create_file (&pdev->dev, &dev_attr_registers);
if (retval) goto done;

retval = usb_add_gadget_udc(&pdev->dev, &dev->gadget);
retval = usb_add_gadget_udc_release(&pdev->dev, &dev->gadget,
gadget_release);
if (retval)
goto done;
return 0;
Expand Down

0 comments on commit 151e793

Please sign in to comment.