Query: driver_find
OS: centos
Section: 9
Links: centos man pages all man pages forum categories
Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRIVER_FIND(9) Device drivers infrastructure DRIVER_FIND(9)NAMEdriver_find - locate driver on a bus by its name.SYNOPSISstruct device_driver * driver_find(const char * name, struct bus_type * bus);ARGUMENTSname name of the driver. bus bus to scan for the driver.DESCRIPTIONCall kset_find_obj to iterate over list of drivers on a bus to find driver by name. Return driver if found. This routine provides no locking to prevent the driver it returns from being unregistered or unloaded while the caller is using it. The caller is responsible for preventing this.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DRIVER_FIND(9)