lkml.org 
[lkml]   [2002]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] PNP driver changes for 2.5.44
ChangeSet 1.808.4.5, 2002/10/24 00:27:01-07:00, ambx1@neo.rr.com

[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.


diff -Nru a/drivers/pnp/driver.c b/drivers/pnp/driver.c
--- a/drivers/pnp/driver.c Tue Oct 29 10:38:28 2002
+++ b/drivers/pnp/driver.c Tue Oct 29 10:38:28 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);
}

/**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.061 / U:1.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site