1DRIVER_ATTACH(9) Device drivers infrastructure DRIVER_ATTACH(9)
23
4
NAME
6driver_attach - try to bind driver to devices.
7
SYNOPSIS
9int driver_attach(struct device_driver * drv);
10
ARGUMENTS
12drv
13driver.
14
DESCRIPTION
16Walk the list of devices that the bus has on it and try to match the
17driver with each one. If driver_probe_device returns 0 and the
18dev->driver is set, we've found a compatible pair.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 DRIVER_ATTACH(9)