ACPI: Move acpi_blacklisted() declaration to asm/acpi.h
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Mon, 29 Apr 2024 04:04:41 +0000 (21:04 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Apr 2024 19:29:18 +0000 (21:29 +0200)
commitdfac21b1eeefe8ae472e3fee511cfdcf7d03bb4b
tree7ecef7b2cd09e68db971d8af1a00ae9d9870a904
parentd8f20383a2fc3a3844b08a4999cf0e81164a0e56
ACPI: Move acpi_blacklisted() declaration to asm/acpi.h

The function acpi_blacklisted() is defined only when CONFIG_X86 is
enabled and is only used by X86 arch code. To align with its usage and
definition conditions, move its declaration to asm/acpi.h

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ rjw: Added empty code line in a header file ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/asm/acpi.h
include/linux/acpi.h