PM / domains: Keep declaration of dev_power_governors together
This is a pure code cleanup in the header file for the PM domain. No functional change. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
0f574d4c3a
Коммит
ae3c511c2d
|
@ -117,8 +117,6 @@ static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev)
|
||||||
return to_gpd_data(dev->power.subsys_data->domain_data);
|
return to_gpd_data(dev->power.subsys_data->domain_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern struct dev_power_governor simple_qos_governor;
|
|
||||||
|
|
||||||
extern struct generic_pm_domain *dev_to_genpd(struct device *dev);
|
extern struct generic_pm_domain *dev_to_genpd(struct device *dev);
|
||||||
extern int __pm_genpd_add_device(struct generic_pm_domain *genpd,
|
extern int __pm_genpd_add_device(struct generic_pm_domain *genpd,
|
||||||
struct device *dev,
|
struct device *dev,
|
||||||
|
@ -151,6 +149,7 @@ extern void pm_genpd_init(struct generic_pm_domain *genpd,
|
||||||
extern int pm_genpd_poweron(struct generic_pm_domain *genpd);
|
extern int pm_genpd_poweron(struct generic_pm_domain *genpd);
|
||||||
extern int pm_genpd_name_poweron(const char *domain_name);
|
extern int pm_genpd_name_poweron(const char *domain_name);
|
||||||
|
|
||||||
|
extern struct dev_power_governor simple_qos_governor;
|
||||||
extern struct dev_power_governor pm_domain_always_on_gov;
|
extern struct dev_power_governor pm_domain_always_on_gov;
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче