table of contents
other versions
- wheezy 3.2.78-1
DRIVER_FIND(9) | Device drivers infrastructure | DRIVER_FIND(9) |
NAME¶
driver_find - locate driver on a bus by its name.SYNOPSIS¶
struct
device_driver * driver_find(const char * name,
struct bus_type * bus);
ARGUMENTS¶
namename of the driver.
bus
bus to scan for the driver.
DESCRIPTION¶
Call kset_find_obj to iterate over list of drivers on a bus to find driver by name. Return driver if found. Note that kset_find_obj increments driver's reference count.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |