]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86/tuxedo: Prevent invalid Kconfig state
authorWerner Sembach <wse@tuxedocomputers.com>
Mon, 12 May 2025 12:54:32 +0000 (14:54 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 14 May 2025 10:01:28 +0000 (13:01 +0300)
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>
drivers/platform/x86/tuxedo/nb04/Kconfig

index 411c46c9a1cf0c64cb70acd6d29ce24ffc6f86c9..9e7a9f9230d1c544496caf69ac8c17ad47dbf8d9 100644 (file)
@@ -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