OF_FIND_COMPATIBLE_NODE
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
of_find_compatible_node - Find a node based on type and one of the
SYNOPSIS
"SYNOPSIS"
struct device_node * of_find_compatible_node (struct device_node * from, const char * type, const char * compatible);
ARGUMENTS
- from
-
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. of_node_put will be called on it
- type
-
The type string to match ``device_type'' or NULL to ignore
- compatible
-
The string to match to one of the tokens in the device
``compatible'' list.
DESCRIPTION
Returns a node pointer with refcount incremented, use
of_node_put on it when done.
DESCRIPTION
Returns a node pointer with refcount incremented, use
of_node_put on it when done.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:35 GMT, October 09, 2005