1DRIVER_FIND(9) Device drivers infrastructure DRIVER_FIND(9)
2
3
4
6 driver_find - locate driver on a bus by its name.
7
9 struct device_driver * driver_find(const char * name,
10 struct bus_type * bus);
11
13 name
14 name of the driver.
15
16 bus
17 bus to scan for the driver.
18
20 Call kset_find_obj to iterate over list of drivers on a bus to find
21 driver by name. Return driver if found.
22
23 Note that kset_find_obj increments driverĀ“s reference count.
24
26Kernel Hackers Manual 2.6. June 2019 DRIVER_FIND(9)