From: Rafael J. Wysocki Date: Fri, 13 Jan 2012 23:39:25 +0000 (+0100) Subject: PM / Domains: Fix build for CONFIG_PM_SLEEP unset X-Git-Tag: v3.3-rc1~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1d6986bae57b6d11e2c9ce5e66b6c6b0e3684d;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed