.\" 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_FOR_EACH_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
driver_for_each_device \- Iterator for devices bound to a driver.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int driver_for_each_device (struct device_driver * \fIdrv\fB, struct device * \fIstart\fB, void * \fIdata\fB, int (*\fIfn\fB)
struct device *, void *);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
Driver we're iterating.
.TP
\fB\fIstart\fB\fR
-- undescribed --
.TP
\fB\fIdata\fB\fR
Data to pass to the callback.
.TP
\fB\fIfn\fB\fR
Function to call for each device.
.SH "DESCRIPTION"
.PP
Iterate over the \fIdrv\fR\&'s list of devices calling \fIfn\fR for each one.