.\" 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 "OF_FIND_COMPATIBLE_NODE" "9" "09 October 2005" "" ""
.SH NAME
of_find_compatible_node \- Find a node based on type and one of the
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct device_node * of_find_compatible_node (struct device_node * \fIfrom\fB, const char * \fItype\fB, const char * \fIcompatible\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfrom\fB\fR
The node to start searching from or NULL, the node
you pass will not be searched, only the next one
will; typically, you pass what the previous call
returned. \fBof_node_put\fR will be called on it
.TP
\fB\fItype\fB\fR
The type string to match ``device_type'' or NULL to ignore
.TP
\fB\fIcompatible\fB\fR
The string to match to one of the tokens in the device
``compatible'' list.
.SH "DESCRIPTION"
.PP
Returns a node pointer with refcount incremented, use
\fBof_node_put\fR on it when done.
.SH "DESCRIPTION"
.PP
Returns a node pointer with refcount incremented, use
\fBof_node_put\fR on it when done.