Query: device_bind_driver
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVICE_BIND_DRIVER(9) Device drivers infrastructure DEVICE_BIND_DRIVER(9)NAMEdevice_bind_driver - bind a driver to one device.SYNOPSISint device_bind_driver(struct device * dev);ARGUMENTSdev device.DESCRIPTIONAllow manual attachment of a driver to a device. Caller must have already set dev->driver. Note that this does not modify the bus reference count nor take the bus's rwsem. Please verify those are accounted for before calling this. (It is ok to call with no other effort from a driver's probe method.) This function must be called with the device lock held.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DEVICE_BIND_DRIVER(9)