diff options
| author | Rafael J. Wysocki <[email protected]> | 2012-07-05 20:12:32 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2012-07-05 20:12:32 +0000 |
| commit | 1d5fcfec22ce5f69db0d29284d2b65ff8ab1bfaa (patch) | |
| tree | 907136239832a60a2f7af6e6dd442fdc3ac0f034 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | PM / Domains: Add preliminary support for cpuidle, v2 (diff) | |
| download | kernel-1d5fcfec22ce5f69db0d29284d2b65ff8ab1bfaa.tar.gz kernel-1d5fcfec22ce5f69db0d29284d2b65ff8ab1bfaa.zip | |
PM / Domains: Add device domain data reference counter
Add a mechanism for counting references to the
struct generic_pm_domain_data object pointed to by
dev->power.subsys_data->domain_data if the device in question
belongs to a generic PM domain.
This change is necessary for a subsequent patch making it possible to
allocate that object from within pm_genpd_add_callbacks(), so that
drivers can attach their PM domain device callbacks to devices before
those devices are added to PM domains.
This patch has been tested on the SH7372 Mackerel board.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
