Message ID | 20250518-hid_lenovo_acpi_dependency-v1-2-afdb93b5d1a6@jannau.net |
---|---|
State | New |
Headers | show |
Series | Remove HID_LENOVO's dependency on ACPI | expand |
On Sun, May 18, 2025, at 12:18, Janne Grunau via B4 Relay wrote: > > config HID_LENOVO > tristate "Lenovo / Thinkpad devices" > - depends on ACPI > - select ACPI_PLATFORM_PROFILE > + depends on ACPI || !ACPI Since ACPI is a 'bool' symbol, the 'ACPI || !ACPI' dependency has no actual effect. I don't see any way that ACPI will ever become a loadable module. Arnd
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index a503252702b7b43c332a12b14bc8b23b83e9f028..984f7bd235141f21e018b51f97546ec9d00324e8 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -595,8 +595,8 @@ config HID_LED config HID_LENOVO tristate "Lenovo / Thinkpad devices" - depends on ACPI - select ACPI_PLATFORM_PROFILE + depends on ACPI || !ACPI + select ACPI_PLATFORM_PROFILE if ACPI select NEW_LEDS select LEDS_CLASS help