summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-05-29 23:10:44 -0700
committerPatrick Mochel <mochel@osdl.org>2002-05-29 23:10:44 -0700
commit95548e472ccad257232b4cf4fdfd47777ab5dd33 (patch)
treee548551f14b139d8a1d80283616ca88a5c91a5d0 /include
parent64d1cb77639c233714ce611c978242272dee3f33 (diff)
device model: remove flags parameter from struct device_driver::remove and fix all users
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index dd88f8b7cace..2186f85a8beb 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -48,11 +48,6 @@ enum {
RESUME_ENABLE,
};
-enum {
- REMOVE_NOTIFY,
- REMOVE_FREE_RESOURCES,
-};
-
struct device;
struct device_driver;
@@ -103,7 +98,7 @@ struct device_driver {
struct driver_dir_entry dir;
int (*probe) (struct device * dev);
- int (*remove) (struct device * dev, u32 flags);
+ int (*remove) (struct device * dev);
int (*suspend) (struct device * dev, u32 state, u32 level);
int (*resume) (struct device * dev, u32 level);