driver_attach(9)

driver_attach9

Try to bind driver to devices.

Usage

int driver_attach(struct device_driver * drv);

Arguments

drv

driver.

Overview

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.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.