diff options
| author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-14 02:41:32 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-17 19:20:15 -0500 |
| commit | 00e7c295968d74f4dbb00aef8334fafe788e3c89 (patch) | |
| tree | 451935f3bad0ec230548c7bd6c2876f696156ae8 /include/linux | |
| parent | c8f0ea45169c57f36e6d8c4dcf7ccf09de7f1c2c (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')
| -rw-r--r-- | include/linux/pm.h | 6 | ||||
| -rw-r--r-- | include/linux/pm_domain.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 383fd68aaee1..45e3e78c1e3a 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
| @@ -538,11 +538,7 @@ enum rpm_request { | |||
| 538 | }; | 538 | }; |
| 539 | 539 | ||
| 540 | struct wakeup_source; | 540 | struct wakeup_source; |
| 541 | 541 | struct pm_domain_data; | |
| 542 | struct pm_domain_data { | ||
| 543 | struct list_head list_node; | ||
| 544 | struct device *dev; | ||
| 545 | }; | ||
| 546 | 542 | ||
| 547 | struct pm_subsys_data { | 543 | struct pm_subsys_data { |
| 548 | spinlock_t lock; | 544 | spinlock_t lock; |
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 { | |||
| 98 | bool cached_stop_ok; | 98 | bool cached_stop_ok; |
| 99 | }; | 99 | }; |
| 100 | 100 | ||
| 101 | struct pm_domain_data { | ||
| 102 | struct list_head list_node; | ||
| 103 | struct device *dev; | ||
| 104 | }; | ||
| 105 | |||
| 101 | struct generic_pm_domain_data { | 106 | struct generic_pm_domain_data { |
| 102 | struct pm_domain_data base; | 107 | struct pm_domain_data base; |
| 103 | struct gpd_timing_data td; | 108 | struct gpd_timing_data td; |
