Commit ae8c1ab3 authored by Adam Belay's avatar Adam Belay

[PATCH] update PnP layer to driver model changes - 2.5.44 (4/4)

Updates to the driver model changes.  This should fix a potential panic.
parent dfbf98b5
...@@ -175,7 +175,7 @@ int pnp_register_driver(struct pnp_driver *drv) ...@@ -175,7 +175,7 @@ int pnp_register_driver(struct pnp_driver *drv)
void pnp_unregister_driver(struct pnp_driver *drv) void pnp_unregister_driver(struct pnp_driver *drv)
{ {
pnp_dbg("the driver '%s' has been unregistered", drv->name); pnp_dbg("the driver '%s' has been unregistered", drv->name);
remove_driver(&drv->driver); driver_unregister(&drv->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