device_pm_set_parent(9)

device_pm_set_parent9

Specify power dependency.

Usage

void device_pm_set_parent(struct device * dev, struct device * parent);

Arguments

dev

Device who needs power.

parent

Device that supplies power.

Overview

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.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.