diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-17 20:23:17 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-17 20:30:02 +0100 |
commit | fef98671194be005853cbbf51b164a3927589b64 (patch) | |
tree | 5142153faaebc6e9e9f097afe34e68e75d3c1ef7 /drivers/acpi/Makefile | |
parent | 146f1ed852a87b802ed6e71c31e189c64871383c (diff) | |
download | linux-rpi-fef98671194be005853cbbf51b164a3927589b64.tar.gz linux-rpi-fef98671194be005853cbbf51b164a3927589b64.tar.bz2 linux-rpi-fef98671194be005853cbbf51b164a3927589b64.zip |
ACPI: PM: s2idle: Move x86-specific code to the x86 directory
Some code in drivers/acpi/sleep.c (which is regarded as a generic
file) related to suspend-to-idle support has grown direct dependencies
on x86, but in fact it has been specific to x86 (which is the only
user of it) anyway for a long time.
For this reason, move that code to a separate file under acpi/x86/
and make it build and run as before under the right conditions.
While at it, rename a vendor checking function in that code and
consistently use acpi_handle_debug() for printing debug-related
information in it.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 44e412506317..076894a3330f 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -54,6 +54,7 @@ acpi-y += property.o acpi-$(CONFIG_X86) += acpi_cmos_rtc.o acpi-$(CONFIG_X86) += x86/apple.o acpi-$(CONFIG_X86) += x86/utils.o +acpi-$(CONFIG_X86) += x86/s2idle.o acpi-$(CONFIG_DEBUG_FS) += debugfs.o acpi-y += acpi_lpat.o acpi-$(CONFIG_ACPI_LPIT) += acpi_lpit.o |