summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Sembach <wse@tuxedocomputers.com>2025-05-12 15:54:32 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-05-14 13:01:28 +0300
commit9f080c9f2099b5a81c85b3b7f95fd11fad428cc8 (patch)
tree33680e419553b2265ff41659f45ec3de8151681e
parent2bd1870a67692bb7bbeba80bb3135934d78eba66 (diff)
downloadlinux-9f080c9f2099b5a81c85b3b7f95fd11fad428cc8.tar.xz
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 <wse@tuxedocomputers.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> 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 <ilpo.jarvinen@linux.intel.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-rw-r--r--drivers/platform/x86/tuxedo/nb04/Kconfig2
1 files changed, 2 insertions, 0 deletions
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