From: Andy Lutomirski Date: Mon, 15 Feb 2016 16:32:34 +0000 (-0800) Subject: dell-wmi, dell-laptop: depends DMI X-Git-Tag: v4.9.8~2424^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a570af4850043260b87fb1b8aa27a4484e648878;p=platform%2Fkernel%2Flinux-rpi3.git dell-wmi, dell-laptop: depends DMI 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 --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 3e4d9c3..a65d974 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -105,6 +105,7 @@ config DELL_LAPTOP tristate "Dell Laptop Extras" depends on X86 depends on DELL_SMBIOS + depends on DMI depends on BACKLIGHT_CLASS_DEVICE depends on ACPI_VIDEO || ACPI_VIDEO = n depends on RFKILL || RFKILL = n @@ -120,6 +121,7 @@ config DELL_LAPTOP config DELL_WMI tristate "Dell WMI extras" depends on ACPI_WMI + depends on DMI depends on INPUT depends on ACPI_VIDEO || ACPI_VIDEO = n select INPUT_SPARSEKMAP