diff options
| -rw-r--r-- | drivers/base/power/domain.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index d71d0458d41f..cf4651a15a57 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c | |||
| @@ -721,6 +721,13 @@ void pm_genpd_poweroff_unused(void) | |||
| 721 | mutex_unlock(&gpd_list_lock); | 721 | mutex_unlock(&gpd_list_lock); |
| 722 | } | 722 | } |
| 723 | 723 | ||
| 724 | static int __init genpd_poweroff_unused(void) | ||
| 725 | { | ||
| 726 | pm_genpd_poweroff_unused(); | ||
| 727 | return 0; | ||
| 728 | } | ||
| 729 | late_initcall(genpd_poweroff_unused); | ||
| 730 | |||
| 724 | #else | 731 | #else |
| 725 | 732 | ||
| 726 | static inline int genpd_dev_pm_qos_notifier(struct notifier_block *nb, | 733 | static inline int genpd_dev_pm_qos_notifier(struct notifier_block *nb, |
