diff options
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index f315df2005bc..cf2cff7480f1 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -396,7 +396,7 @@ int pci_register_driver(struct pci_driver *drv) | |||
396 | /* FIXME, once all of the existing PCI drivers have been fixed to set | 396 | /* FIXME, once all of the existing PCI drivers have been fixed to set |
397 | * the pci shutdown function, this test can go away. */ | 397 | * the pci shutdown function, this test can go away. */ |
398 | if (!drv->driver.shutdown) | 398 | if (!drv->driver.shutdown) |
399 | drv->driver.shutdown = pci_device_shutdown, | 399 | drv->driver.shutdown = pci_device_shutdown; |
400 | drv->driver.owner = drv->owner; | 400 | drv->driver.owner = drv->owner; |
401 | drv->driver.kobj.ktype = &pci_driver_kobj_type; | 401 | drv->driver.kobj.ktype = &pci_driver_kobj_type; |
402 | pci_init_dynids(&drv->dynids); | 402 | pci_init_dynids(&drv->dynids); |