1DRIVER_FIND(9)           Device drivers infrastructure          DRIVER_FIND(9)
2
3
4

NAME

6       driver_find - locate driver on a bus by its name.
7

SYNOPSIS

9       struct device_driver * driver_find(const char * name,
10                                          struct bus_type * bus);
11

ARGUMENTS

13       name
14           name of the driver.
15
16       bus
17           bus to scan for the driver.
18

DESCRIPTION

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       This routine provides no locking to prevent the driver it returns from
24       being unregistered or unloaded while the caller is using it. The caller
25       is responsible for preventing this.
26
28Kernel Hackers Manual 3.10         June 2019                    DRIVER_FIND(9)
Impressum