Commit 16733e6a authored by Patrick Mochel's avatar Patrick Mochel

driver model (pci): change call of remove_driver to driver_unregister.

parent be0b9c71
...@@ -141,7 +141,7 @@ pci_register_driver(struct pci_driver *drv) ...@@ -141,7 +141,7 @@ pci_register_driver(struct pci_driver *drv)
void void
pci_unregister_driver(struct pci_driver *drv) pci_unregister_driver(struct pci_driver *drv)
{ {
remove_driver(&drv->driver); driver_unregister(&drv->driver);
} }
static struct pci_driver pci_compat_driver = { static struct pci_driver pci_compat_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment