summaryrefslogtreecommitdiff
path: root/drivers/acpi/x86/s2idle.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-08-18 14:40:01 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-21 20:28:20 +0200
commit3ac9b733723e4a09ad9125ceb51898d904cd5169 (patch)
treedc913252f928d318e1957e3ef527992804c63ab4 /drivers/acpi/x86/s2idle.c
parent706a741595047797872e669b3101429ab8d378ef (diff)
ACPI: Adjust #ifdef for *_lps0_dev use
The `#ifdef` for acpi_register_lps0_dev() currently is guarded against `CONFIG_X86`, but actually the functions contained in the block are specifically sleep related functions. Adjust the guard to also check for `CONFIG_SUSPEND`. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/x86/s2idle.c')
0 files changed, 0 insertions, 0 deletions