Skip to contentSkip to conversation

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

PATCH New Adam Belay 1 participant 1 message Oct 23, 2002 Pnp support

lore
Share & tools
lore

Adam Belay

author
#0 lore raw

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

Updates to the driver model changes. This should fix a potential panic.

Please Apply,
Adam

drivers/pnp/driver.c +1 -1
diff -ur a/drivers/pnp/driver.c b/drivers/pnp/driver.c
@@ -175,7 +175,7 @@
 void pnp_unregister_driver(struct pnp_driver *drv)
 {
 	pnp_dbg("the driver '%s' has been unregistered", drv->name);
-	remove_driver(&drv->driver);
+	driver_unregister(&drv->driver);
 }
 
 /**