All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] update PnP layer to driver model changes - 2.5.44 (4/4)
@ 2002-10-23 15:33 Adam Belay
  0 siblings, 0 replies; only message in thread
From: Adam Belay @ 2002-10-23 15:33 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

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

Please Apply,
Adam



diff -ur a/drivers/pnp/driver.c b/drivers/pnp/driver.c
--- a/drivers/pnp/driver.c	Tue Oct 22 19:04:37 2002
+++ b/drivers/pnp/driver.c	Tue Oct 22 20:59:49 2002
@@ -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);
 }
 
 /**

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-23 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23 15:33 [PATCH] update PnP layer to driver model changes - 2.5.44 (4/4) Adam Belay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.