Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226973
b: refs/heads/master
c: f01ef57
h: refs/heads/master
i:
  226971: cb47124
v: v3
  • Loading branch information
Pavankumar Kondeti authored and Greg Kroah-Hartman committed Dec 10, 2010
1 parent 0b33a3d commit e7a6b93
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 56 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: 61948ee4d525174cceee2135a38a482124fcc02c
refs/heads/master: f01ef5748f4c4dcd2e49ccb7d75dc113219559d2
6 changes: 5 additions & 1 deletion trunk/drivers/usb/gadget/ci13xxx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ static irqreturn_t ci13xxx_pci_irq(int irq, void *pdev)
return udc_irq();
}

static struct ci13xxx_udc_driver ci13xxx_pci_udc_driver = {
.name = UDC_DRIVER_NAME,
};

/**
* ci13xxx_pci_probe: PCI probe
* @pdev: USB device controller being probed
Expand Down Expand Up @@ -82,7 +86,7 @@ static int __devinit ci13xxx_pci_probe(struct pci_dev *pdev,
pci_set_master(pdev);
pci_try_set_mwi(pdev);

retval = udc_probe(&pdev->dev, regs, UDC_DRIVER_NAME);
retval = udc_probe(&ci13xxx_pci_udc_driver, &pdev->dev, regs);
if (retval)
goto iounmap;

Expand Down
Loading

0 comments on commit e7a6b93

Please sign in to comment.