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().
Showing
Please register or sign in to comment