[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250524100444.34370-1-luke@ljones.dev>
Date: Sat, 24 May 2025 12:04:43 +0200
From: Luke Jones <luke@...nes.dev>
To: linux-kernel@...r.kernel.org
Cc: hdegoede@...hat.com,
ilpo.jarvinen@...ux.intel.com,
platform-driver-x86@...r.kernel.org,
mario.limonciello@....com,
andriy.shevchenko@...ux.intel.com,
Luke Jones <luke@...nes.dev>
Subject: [PATCH v2 0/1] platform/x86: asus-wmi: fix build without CONFIG_SUSPEND
Fixes "platform/x86: asus-wmi: Refactor Ally suspend/resume".
Verified using the following details provided by test robot:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-ilpo-next
head: 83579675331059689e2869bf752ca9e17fadbd82
commit: feea7bd6b02d43a794e3f065650d89cf8d8e8e59 [74/89] platform/x86: asus-wmi: Refactor Ally suspend/resume
config: x86_64-buildonly-randconfig-004-20250509 (https://download.01.org/0day-ci/archive/20250509/202505090418.DaeaXe4i-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090418.DaeaXe4i-lkp@intel.com/reproduce)
I've not done anything fancy here and left asus_hotk_prepare() as is, as it is *incredibly* unlikely anyone would ever run a ROG Ally without suspend enabled.
Changelog:
- V1:
- Move functions and struct together to be under one ifdef block
- Use wrapper functions for s2idle registration
Luke Jones (1):
platform/x86: asus-wmi: fix build without CONFIG_SUSPEND
drivers/platform/x86/asus-wmi.c | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
--
2.49.0
Powered by blists - more mailing lists