diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-06 08:57:46 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-06 08:57:46 -0600 |
| commit | c3016fe6abf9a2baf8accbe22ef964d506bd9e8a (patch) | |
| tree | 3e95559532c95a6e3e948e4f87a3accd4a3a60d5 /lib/kobject.c | |
| parent | 45cd2cfe8d04830d838cb348f7d181b877a63c49 (diff) | |
driver model: allow manual binding of devices to drivers.
This creates and exports device_bind_driver() and device_release_driver()
that allow a caller to manually bind a device to a driver. Apparantly, some
drivers use this functionality (like USB): a driver binds to other device
interfaces during the driver's probe() method call for the first interface.
Implementation is easy enough, since it simply involves renaming and exporting
the internal functions attach() and detach().
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions
