diff -ur --new-file a/drivers/pnp/driver.c b/drivers/pnp/driver.c
--- a/drivers/pnp/driver.c Wed Oct 30 17:16:54 2002
+++ b/drivers/pnp/driver.c Wed Oct 30 17:28:19 2002
@@ -153,8 +153,6 @@
int count;
struct list_head *pos;
- pnp_dbg("the driver '%s' has been registered", drv->name);
-
drv->driver.name = drv->name;
drv->driver.bus = &pnp_bus_type;
drv->driver.probe = pnp_device_probe;
@@ -169,13 +167,14 @@
count++;
}
}
+ pnp_dbg("the driver '%s' has been registered", drv->name);
return count;
}
void pnp_unregister_driver(struct pnp_driver *drv)
{
- pnp_dbg("the driver '%s' has been unregistered", drv->name);
driver_unregister(&drv->driver);
+ pnp_dbg("the driver '%s' has been unregistered", drv->name);
}
/**
-
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/