From 9f080c9f2099b5a81c85b3b7f95fd11fad428cc8 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 12 May 2025 14:54:32 +0200 Subject: [PATCH] platform/x86/tuxedo: Prevent invalid Kconfig state MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/platform/x86/tuxedo/nb04/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/x86/tuxedo/nb04/Kconfig b/drivers/platform/x86/tuxedo/nb04/Kconfig index 411c46c9a1cf..9e7a9f9230d1 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 -- 2.51.0