Searched hist:"0 f1d6986" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/base/power/ |
H A D | domain.c | 0f1d6986 Fri Jan 13 17:39:25 CST 2012 Rafael J. Wysocki <rjw@sisk.pl> 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> 0f1d6986 Fri Jan 13 17:39:25 CST 2012 Rafael J. Wysocki <rjw@sisk.pl> 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>
|