summaryrefslogtreecommitdiff
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-11-14 08:41:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-11-18 01:20:15 +0100
commit00e7c295968d74f4dbb00aef8334fafe788e3c89 (patch)
tree451935f3bad0ec230548c7bd6c2876f696156ae8 /include/linux/pm_domain.h
parentc8f0ea45169c57f36e6d8c4dcf7ccf09de7f1c2c (diff)
PM / Domains: Move struct pm_domain_data to pm_domain.h
The definition of the struct pm_domain_data better belongs in the header for the PM domains, let's move it there. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r--include/linux/pm_domain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 73e938b7e937..86689b59ce5b 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -98,6 +98,11 @@ struct gpd_timing_data {
bool cached_stop_ok;
};
+struct pm_domain_data {
+ struct list_head list_node;
+ struct device *dev;
+};
+
struct generic_pm_domain_data {
struct pm_domain_data base;
struct gpd_timing_data td;