From: Rafael J. Wysocki Date: Tue, 6 Jan 2009 20:14:04 +0000 (+0100) Subject: PM: Fix freezer compilation if PM_SLEEP is unset X-Git-Tag: v2.6.29-rc2~1^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f1d7ecc6cffff3c618a02295de969ebbacd95d;p=pandora-kernel.git PM: Fix freezer compilation if PM_SLEEP is unset Freezer fails to compile if with the following configuration settings: CONFIG_CGROUPS=y CONFIG_CGROUP_FREEZER=y CONFIG_MODULES=y CONFIG_FREEZER=y CONFIG_PM=y CONFIG_PM_SLEEP=n Fix this by making process.o compilation depend on CONFIG_FREEZER. Reported-by: Cheng Renquan Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Len Brown --- Reading git-diff-tree failed