Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303903
b: refs/heads/master
c: 1989b5c
h: refs/heads/master
i:
  303901: 103bec3
  303899: fa43bb7
  303895: 1da8a73
  303887: c675aee
  303871: b70ed04
v: v3
  • Loading branch information
Alexander Shishkin authored and Greg Kroah-Hartman committed May 11, 2012
1 parent e16852e commit a9834b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6286d85e8efdb59252d1ceb99a56fa6b0b11526c
refs/heads/master: 1989b5ceb5aa57862ed770368ae90bf44fd13198
5 changes: 5 additions & 0 deletions trunk/drivers/usb/gadget/ci13xxx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ static int __devinit ci13xxx_pci_probe(struct pci_dev *pdev,
struct resource res[3];
int retval = 0, nres = 2;

if (!driver) {
dev_err(&pdev->dev, "device doesn't provide driver data\n");
return -ENODEV;
}

retval = pci_enable_device(pdev);
if (retval)
goto done;
Expand Down

0 comments on commit a9834b1

Please sign in to comment.