summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorDarren Hart <dvhart@infradead.org>2018-05-12 21:10:07 +0200
committerDarren Hart (VMware) <dvhart@infradead.org>2018-05-19 00:49:26 +0200
commit54940fa60ad3728c592f62dadb558165495a6938 (patch)
tree1f48e6ffbf96d9c95e6211557c53b52a06a717bf /drivers/platform
parentplatform/x86: Kconfig: Fix dell-laptop dependency chain. (diff)
downloadlinux-54940fa60ad3728c592f62dadb558165495a6938.tar.xz
linux-54940fa60ad3728c592f62dadb558165495a6938.zip
platform/x86: DELL_WMI use depends on instead of select for DELL_SMBIOS
If DELL_WMI "select"s DELL_SMBIOS, the DELL_SMBIOS dependencies are ignored and it is still possible to end up with unmet direct dependencies. Change the select to a depends on. Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index bc309c5327ff..566644bb496a 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -168,8 +168,8 @@ config DELL_WMI
depends on DMI
depends on INPUT
depends on ACPI_VIDEO || ACPI_VIDEO = n
+ depends on DELL_SMBIOS
select DELL_WMI_DESCRIPTOR
- select DELL_SMBIOS
select INPUT_SPARSEKMAP
---help---
Say Y here if you want to support WMI-based hotkeys on Dell laptops.