]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PM: Fix freezer compilation if PM_SLEEP is unset
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 6 Jan 2009 20:14:04 +0000 (21:14 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 16 Jan 2009 19:32:17 +0000 (14:32 -0500)
commit33f1d7ecc6cffff3c618a02295de969ebbacd95d
tree66e5bc12c253f1b39abc468fbbf15d9cb455245d
parentc59765042f53a79a7a65585042ff463b69cb248c
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 <crquan@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
kernel/power/Makefile