summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-06-05 00:43:23 -0700
committerPatrick Mochel <mochel@osdl.org>2002-06-05 00:43:23 -0700
commit4b0e0af3d4afe9d011f2419cfb36eaff4b00c562 (patch)
tree5ddfa04504fc02be07b4abd3fac4f536707e47f8 /include/linux
parente6b1b350e5cc2a56a00e5d79262f6bf3c5186980 (diff)
device model update
s/{driver,device}_bind/{driver,device}_attach/ and s/{driver,device}_unbind/{driver,device}_detach/ call bus's match callback instead of bind callback
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 1c35f87abc9e..053572009fa1 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -64,7 +64,7 @@ struct bus_type {
struct driver_dir_entry device_dir;
struct driver_dir_entry driver_dir;
- int (*bind) (struct device * dev, struct device_driver * drv);
+ int (*match) (struct device * dev, struct device_driver * drv);
};