DRIVER_ATTACH(9) Device drivers infrastructure DRIVER_ATTACH(9)NAMEdriver_attach - try to bind driver to devices.
SYNOPSIS
int driver_attach(struct device_driver * drv);
ARGUMENTS
drv
driver.
DESCRIPTION
Walk the list of devices that the bus has on it and try to match the
driver with each one. If driver_probe_device returns 0 and the
dev->driver is set, we've found a compatible pair.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 DRIVER_ATTACH(9)