.\" 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 "DEVICE_ATTACH" "" "06 October 2005" "" ""
.SH NAME
device_attach \- try to attach device to a driver.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int device_attach (struct device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device.
.SH "DESCRIPTION"
.PP
Walk the list of drivers that the bus has and call \fBbus_match\fR
for each pair. If a compatible pair is found, break out and return.