android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 33f1d7ecc6 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>
2009-01-16 14:32:17 -05:00
..
console.c
disk.c Merge branch 'linus' into release 2009-01-09 03:39:43 -05:00
Kconfig
main.c pm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:39 -08:00
Makefile PM: Fix freezer compilation if PM_SLEEP is unset 2009-01-16 14:32:17 -05:00
power.h
poweroff.c
process.c
snapshot.c
swap.c
swsusp.c
user.c