commit | e59a8db8d9b7c02e0bbefbeb18a3836288a97b8a | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Sat Jan 14 00:39:36 2012 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Sat Jan 14 00:39:36 2012 +0100 |
tree | 6d507257fb36ecccdaed806869934419ae890506 | |
parent | 0f1d6986bae57b6d11e2c9ce5e66b6c6b0e3684d [diff] |
PM / Domains: Skip governor functions for CONFIG_PM_RUNTIME unset The governor functions in drivers/base/power/domain_governor.c are only used if CONFIG_PM_RUNTIME is set and they refer to data structures that are only present in that case. For this reason, they shouldn't be compiled at all when CONFIG_PM_RUNTIME is not set. Reported-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>