]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Domains: Skip governor functions for CONFIG_PM_RUNTIME unset
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 13 Jan 2012 23:39:36 +0000 (00:39 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 13 Jan 2012 23:39:36 +0000 (00:39 +0100)
commitc92c59d579e12adb1871df8bcd7ef4d6a3675dae
tree6d507257fb36ecccdaed806869934419ae890506
parentfa0d949e670bd5255c99c2c4c8b24e0f2780c632
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>
drivers/base/power/domain_governor.c