.\" 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 "DEVICE_PM_SET_PARENT" "9" "09 October 2005" "" ""
.SH NAME
device_pm_set_parent \- Specify power dependency.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void device_pm_set_parent (struct device * \fIdev\fB, struct device * \fIparent\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
Device who needs power.
.TP
\fB\fIparent\fB\fR
Device that supplies power.
.SH "DESCRIPTION"
.PP
This function is used to manually describe a power-dependency
relationship. It may be used to specify a transversal relationship
(where the power supplier is not the physical (or electrical)
ancestor of a specific device.
The effect of this is that the supplier will not be powered down
before the power dependent.