]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPICA: Avoid warning for Dump Functions
authorAdam Lackorzynski <adam@l4re.org>
Tue, 7 May 2024 19:28:26 +0000 (21:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Aug 2024 17:04:22 +0000 (19:04 +0200)
commit5506544dc2e48199f0e917d0a0847562f7a5d78d
treec6dfcf7c92276b17e40514569870796949328f51
parentdd067afe3f8cbe548fb8ac76eaf6e9adfea013b2
ACPICA: Avoid warning for Dump Functions

ACPICA commit 6031b34b5dbabfaaebe80e57e8e415790b51d285

Only include the functions acpi_rs_dump_resource_list
and acpi_rs_dump_irq_list() if ACPI_DEBUGGER is defined, as
specified in the header.

This avoids the compiler warning by adding the ifdef for ACPI_DEBUGGER.

Link: https://github.com/acpica/acpica/commit/6031b34b
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/rsdump.c