]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 7 Apr 2025 18:36:55 +0000 (13:36 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Apr 2025 14:10:37 +0000 (16:10 +0200)
commite1bdbbc98279164d910d2de82a745f090a8b249f
tree53d67fce94bb17a9c60a6299f112ffa1d4817a92
parent0af2f6be1b4281385b618cb86ad946eded089ac8
ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case

acpi_register_lps0_dev() and acpi_unregister_lps0_dev() may be used
in drivers that don't require CONFIG_SUSPEND or compile on !X86.

Add prototypes for those cases.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502191627.fRgoBwcZ-lkp@intel.com/
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20250407183656.1503446-1-superm1@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h