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       Note that kset_find_obj increments driver's reference count.
24
26Kernel Hackers Manual 2.6.       November 2011                  DRIVER_FIND(9)
Impressum