PM / Domains: Fix build for CONFIG_PM_RUNTIME unset
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 14 Aug 2011 11:34:31 +0000 (13:34 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 14 Aug 2011 11:34:31 +0000 (13:34 +0200)
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>

No differences found