.\" 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 "FIND_PA_PARENT_TYPE" "" "06 October 2005" "" ""
.SH NAME
find_pa_parent_type \- Find a parent of a specific type
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
const struct parisc_device * find_pa_parent_type (const struct parisc_device * \fIdev\fB, int \fItype\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
The device to start searching from
.TP
\fB\fItype\fB\fR
The device type to search for.
.SH "DESCRIPTION"
.PP
Walks up the device tree looking for a device of the specified type.
If it finds it, it returns it. If not, it returns NULL.