.\" 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 "DPM_SET_POWER_STATE" "9" "09 October 2005" "" ""
.SH NAME
dpm_set_power_state \- Update power_state field.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void dpm_set_power_state (struct device * \fIdev\fB, pm_message_t \fIstate\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
Device.
.TP
\fB\fIstate\fB\fR
Power state device is in.
.SH "DESCRIPTION"
.PP
This is an update mechanism for drivers to notify the core
what power state a device is in. Device probing code may not
always be able to tell, but we need accurate information to
work reliably.