Name

device_pm_set_parent — Specify power dependency.

Synopsis

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

Arguments

dev

Device who needs power.

parent

Device that supplies power.

Description

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.