.\" 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 "OCP_BUS_MATCH" "" "06 October 2005" "" ""
.SH NAME
ocp_bus_match \- Works out whether an OCP device matches any
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ocp_bus_match (struct device * \fIdev\fB, struct device_driver * \fIdrv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
the generic device struct for the OCP device
.TP
\fB\fIdrv\fB\fR
the generic driver struct for the OCP driver
.SH "DESCRIPTION"
.PP
Used by a driver to check whether a OCP device present in the
system is in its list of supported devices. Returns 1 for a
match, or 0 if there is no match.
.SH "DESCRIPTION"
.PP
Used by a driver to check whether a OCP device present in the
system is in its list of supported devices. Returns 1 for a
match, or 0 if there is no match.