Skip to content

Commit 6e38b9f

Browse files
arndbij-intel
authored andcommitted
platform/x86: lenovo: gamezone needs "other mode"
Registering the "other mode" notifier fails if that is disabled: x86_64-linux-ld: drivers/platform/x86/lenovo/wmi-gamezone.o: in function `lwmi_gz_probe': wmi-gamezone.c:(.text+0x336): undefined reference to `devm_lwmi_om_register_notifier' This could be fixed by adding a stub helper, but a Kconfig 'select' seems simpler here. Fixes: 22024ac ("platform/x86: Add Lenovo Gamezone WMI Driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20250709151734.1268435-1-arnd@kernel.org [ij: retained the other selects as wmi-gamezone is using them directly.] Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 6382c27 commit 6e38b9f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/platform/x86/lenovo/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ config LENOVO_WMI_GAMEZONE
252252
select ACPI_PLATFORM_PROFILE
253253
select LENOVO_WMI_EVENTS
254254
select LENOVO_WMI_HELPERS
255+
select LENOVO_WMI_TUNING
255256
help
256257
Say Y here if you have a WMI aware Lenovo Legion device and would like to use the
257258
platform-profile firmware interface to manage power usage.

0 commit comments

Comments
 (0)