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 PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB 2008-11-01 12:40:38 -07:00
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 [PATCH] propagate mode through swsusp_close() 2008-10-21 07:49:02 -04:00
poweroff.c cpumask: convert rest of files in kernel/ 2009-01-01 10:12:28 +10:30
process.c container freezer: skip frozen cgroups during power management resume 2008-10-20 08:52:34 -07:00
snapshot.c Hibernate: Replace unnecessary evaluation of pfn_to_page() 2008-12-19 04:40:35 -05:00
swap.c [PATCH] kill obsolete temporary comment in swsusp_close() 2008-12-04 04:22:54 -05:00
swsusp.c ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory 2008-12-19 04:40:34 -05:00
user.c pm: rework disabling of user mode helpers during suspend/hibernation 2008-10-16 11:21:29 -07:00