summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-02-03 21:48:53 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-02-03 21:48:53 -0800
commit9d6cc8f23f0e0d00a29faabf059e12cdd2c1becb (patch)
tree35a99d7de988fb6683cd0fe59615d53edf62ae04 /include/linux
parenta2db42827b775b1110b6cf29f530a8e0246ede19 (diff)
[PATCH] Driver core: remove device_unregister_wait() as it's a very bad idea.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index c8f5aa7d9f5a..6da63dac06b0 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -265,7 +265,6 @@ struct device {
struct list_head children;
struct device * parent;
- struct completion * complete; /* Notification for freeing device. */
struct kobject kobj;
char bus_id[BUS_ID_SIZE]; /* position on parent bus */
@@ -313,7 +312,6 @@ dev_set_drvdata (struct device *dev, void *data)
*/
extern int device_register(struct device * dev);
extern void device_unregister(struct device * dev);
-extern void device_unregister_wait(struct device * dev);
extern void device_initialize(struct device * dev);
extern int device_add(struct device * dev);
extern void device_del(struct device * dev);