From: Werner Sembach Date: Mon, 12 May 2025 12:54:32 +0000 (+0200) Subject: platform/x86/tuxedo: Prevent invalid Kconfig state X-Git-Tag: v6.16-rc1~125^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f080c9f2099b5a81c85b3b7f95fd11fad428cc8;p=thirdparty%2Flinux.git platform/x86/tuxedo: Prevent invalid Kconfig state It was possible to create a uncompileable config, because of missing "Depends on" statements in the new Kconfig of the TUXEDO platform driver. Signed-off-by: Werner Sembach Reported-by: Randy Dunlap Closes: https://lore.kernel.org/all/a1d9134f-0567-4a53-a1e7-a55cd6b189a9@infradead.org/ Link: https://lore.kernel.org/r/20250512125450.31072-1-wse@tuxedocomputers.com Reviewed-by: Ilpo Järvinen Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/x86/tuxedo/nb04/Kconfig b/drivers/platform/x86/tuxedo/nb04/Kconfig index 411c46c9a1cf0..9e7a9f9230d1c 100644 --- a/drivers/platform/x86/tuxedo/nb04/Kconfig +++ b/drivers/platform/x86/tuxedo/nb04/Kconfig @@ -7,6 +7,8 @@ config TUXEDO_NB04_WMI_AB tristate "TUXEDO NB04 WMI AB Platform Driver" + depends on ACPI_WMI + depends on HID help This driver implements the WMI AB device found on TUXEDO notebooks with board vendor NB04. This enables keyboard backlight control via a