]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dell-wmi, dell-laptop: depends DMI
authorAndy Lutomirski <luto@kernel.org>
Tue, 20 Feb 2018 11:55:00 +0000 (12:55 +0100)
committerSasha Levin <alexander.levin@microsoft.com>
Sun, 4 Mar 2018 15:28:33 +0000 (10:28 -0500)
[ Upstream commit a570af4850043260b87fb1b8aa27a4484e648878 ]

dell-wmi and dell-laptop will compile but won't work right if DMI
isn't selected.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
[arnd: Use depends instead of selects to avoid recursive dependencies]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/platform/x86/Kconfig

index f9f205cb1f115a92617fca64002f028d1856faab..8becddcf130b20237e06b4c6e37897bfa409077a 100644 (file)
@@ -94,6 +94,7 @@ config DELL_LAPTOP
        tristate "Dell Laptop Extras"
        depends on X86
        depends on DCDBAS
+       depends on DMI
        depends on BACKLIGHT_CLASS_DEVICE
        depends on RFKILL || RFKILL = n
        depends on SERIO_I8042
@@ -108,6 +109,7 @@ config DELL_LAPTOP
 config DELL_WMI
        tristate "Dell WMI extras"
        depends on ACPI_WMI
+       depends on DMI
        depends on INPUT
        select INPUT_SPARSEKMAP
        ---help---