diff options
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r-- | include/linux/pm_domain.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index a9edab2c787a..080e778118ba 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h | |||
@@ -113,8 +113,6 @@ struct generic_pm_domain_data { | |||
113 | struct pm_domain_data base; | 113 | struct pm_domain_data base; |
114 | struct gpd_timing_data td; | 114 | struct gpd_timing_data td; |
115 | struct notifier_block nb; | 115 | struct notifier_block nb; |
116 | struct mutex lock; | ||
117 | unsigned int refcount; | ||
118 | int need_restore; | 116 | int need_restore; |
119 | }; | 117 | }; |
120 | 118 | ||
@@ -140,7 +138,6 @@ extern int __pm_genpd_name_add_device(const char *domain_name, | |||
140 | 138 | ||
141 | extern int pm_genpd_remove_device(struct generic_pm_domain *genpd, | 139 | extern int pm_genpd_remove_device(struct generic_pm_domain *genpd, |
142 | struct device *dev); | 140 | struct device *dev); |
143 | extern void pm_genpd_dev_need_restore(struct device *dev, bool val); | ||
144 | extern int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, | 141 | extern int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, |
145 | struct generic_pm_domain *new_subdomain); | 142 | struct generic_pm_domain *new_subdomain); |
146 | extern int pm_genpd_add_subdomain_names(const char *master_name, | 143 | extern int pm_genpd_add_subdomain_names(const char *master_name, |
@@ -187,7 +184,6 @@ static inline int pm_genpd_remove_device(struct generic_pm_domain *genpd, | |||
187 | { | 184 | { |
188 | return -ENOSYS; | 185 | return -ENOSYS; |
189 | } | 186 | } |
190 | static inline void pm_genpd_dev_need_restore(struct device *dev, bool val) {} | ||
191 | static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, | 187 | static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, |
192 | struct generic_pm_domain *new_sd) | 188 | struct generic_pm_domain *new_sd) |
193 | { | 189 | { |