Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10686
b: refs/heads/master
c: a1720fd
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent efefecf commit d702429
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d10211b278c70fbebb83fb9e4ee717ca13f69b2d
refs/heads/master: a1720fdbd0f90e64668a59a304d01c5ba001b450
4 changes: 4 additions & 0 deletions trunk/drivers/pci/pci-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@ int pci_register_driver(struct pci_driver *drv)
* the pci shutdown function, this test can go away. */
if (!drv->driver.shutdown)
drv->driver.shutdown = pci_device_shutdown;
else
printk(KERN_WARNING "Warning: PCI driver %s has a struct "
"device_driver shutdown method, please update!\n",
drv->name);
drv->driver.owner = drv->owner;
drv->driver.kobj.ktype = &pci_driver_kobj_type;

Expand Down

0 comments on commit d702429

Please sign in to comment.