diff options
author | 2011-08-14 13:34:31 +0200 | |
---|---|---|
committer | 2011-08-14 13:34:31 +0200 | |
commit | 17f2ae7f677f023997e02fd2ebabd90ea2a0390d (patch) | |
tree | 9f333057d8771adc432687417c2bfe28164f1e48 /include/linux/pm.h | |
parent | Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging (diff) | |
download | wireguard-linux-17f2ae7f677f023997e02fd2ebabd90ea2a0390d.tar.xz wireguard-linux-17f2ae7f677f023997e02fd2ebabd90ea2a0390d.zip |
PM / Domains: Fix build for CONFIG_PM_RUNTIME unset
Function genpd_queue_power_off_work() is not defined for
CONFIG_PM_RUNTIME, so pm_genpd_poweroff_unused() causes a build
error to happen in that case. Fix the problem by making
pm_genpd_poweroff_unused() depend on CONFIG_PM_RUNTIME too.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions