[PATCH v3 2/3] dell-wmi, dell-laptop: select DMI

From: Andy Lutomirski
Date: Tue Jan 19 2016 - 14:08:17 EST


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

Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
---

Changes from v1:
- New patch.

drivers/platform/x86/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index f37821f004f9..a2f3dd525559 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -102,6 +102,7 @@ config DELL_LAPTOP
select POWER_SUPPLY
select LEDS_CLASS
select NEW_LEDS
+ select DMI
default n
---help---
This driver adds support for rfkill and backlight control to Dell
@@ -113,6 +114,7 @@ config DELL_WMI
depends on INPUT
depends on ACPI_VIDEO || ACPI_VIDEO = n
select INPUT_SPARSEKMAP
+ select DMI
---help---
Say Y here if you want to support WMI-based hotkeys on Dell laptops.

--
2.5.0