]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: asus-wmi: fix build without CONFIG_SUSPEND
authorLuke Jones <luke@ljones.dev>
Sat, 24 May 2025 10:13:42 +0000 (12:13 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Sun, 25 May 2025 20:44:18 +0000 (23:44 +0300)
commit7ff5f091409f1c1bca6374bcce54d71e8328d17f
treec754346ce222b3f083360596c90586a739380f9a
parentcad37faac66c3822add86caf02fa0884d309a45f
platform/x86: asus-wmi: fix build without CONFIG_SUSPEND

The patch "Refactor Ally suspend/resume" introduced an
acpi_s2idle_dev_ops for use with ROG Ally which caused a build error
if CONFIG_SUSPEND was not defined.

Signed-off-by: Luke Jones <luke@ljones.dev>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505090418.DaeaXe4i-lkp@intel.com/
Fixes: feea7bd6b02d ("platform/x86: asus-wmi: Refactor Ally suspend/resume")
Link: https://lore.kernel.org/r/20250524101343.57883-2-luke@ljones.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-wmi.c