From: Andy Lutomirski Date: Tue, 20 Feb 2018 11:55:00 +0000 (+0100) Subject: dell-wmi, dell-laptop: depends DMI X-Git-Tag: v4.1.50~55 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8bd0b0c4df4443cc82f982aa8c1de0684515a2b6;p=users%2Fdwmw2%2Flinux.git dell-wmi, dell-laptop: depends DMI [ 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 Acked-by: Pali Rohár [arnd: Use depends instead of selects to avoid recursive dependencies] Signed-off-by: Arnd Bergmann Signed-off-by: Darren Hart Signed-off-by: Sasha Levin --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index f9f205cb1f115..8becddcf130b2 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -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---