summaryrefslogtreecommitdiff
path: root/drivers/base/power/domain_governor.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-01-14 00:39:25 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2012-01-14 00:39:25 +0100
commit0f1d6986bae57b6d11e2c9ce5e66b6c6b0e3684d (patch)
treeabf2a89b7c4c60e2165a347fcbf2dd892c12e8bb /drivers/base/power/domain_governor.c
parentdae5cbc2440b1d21a15715d0f1fb20f632dd38ee (diff)
downloadlwn-0f1d6986bae57b6d11e2c9ce5e66b6c6b0e3684d.tar.gz
lwn-0f1d6986bae57b6d11e2c9ce5e66b6c6b0e3684d.zip
PM / Domains: Fix build for CONFIG_PM_SLEEP unset
Some callback functions defined in drivers/base/power/domain.c are only necessary if CONFIG_PM_SLEEP is set and they call some other functions that are only available in that case. For this reason, they should not be compiled at all when CONFIG_PM_SLEEP is not set. Reported-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base/power/domain_governor.c')
0 files changed, 0 insertions, 0 deletions