.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DRIVER_FIND" "9" "09 October 2005" "" ""
.SH NAME
driver_find \- locate driver on a bus by its name.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct device_driver * driver_find (const char * \fIname\fB, struct bus_type * \fIbus\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIname\fB\fR
name of the driver.
.TP
\fB\fIbus\fB\fR
bus to scan for the driver.
.SH "DESCRIPTION"
.PP
Call \fBkset_find_obj\fR to iterate over list of drivers on
a bus to find driver by name. Return driver if found.
.PP
Note that kset_find_obj increments driver's reference count.