diff options
author | Mario Limonciello <mario.limonciello@dell.com> | 2018-04-20 13:42:11 -0400 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-05-04 16:20:14 -0400 |
commit | 7fe3fa3b5ec8e75389cce4bf5d052a52e6198d59 (patch) | |
tree | 1fce4b02329214633c2542337ec65dad487c15a3 | |
parent | 9f0a93de9139c2b0a59299cd36b61564522458f8 (diff) |
platform/x86: Kconfig: Fix dell-laptop dependency chain.
As reported by Randy Dunlap:
>> WARNING: unmet direct dependencies detected for DELL_SMBIOS
>> Depends on [m]: X86 [=y] && X86_PLATFORM_DEVICES [=y]
>> && (DCDBAS [=m] ||
>> DCDBAS [=m]=n) && (ACPI_WMI [=n] || ACPI_WMI [=n]=n)
>> Selected by [y]:
>> - DELL_LAPTOP [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y]
>> && DMI [=y]
>> && BACKLIGHT_CLASS_DEVICE [=y] && (ACPI_VIDEO [=n] ||
>> ACPI_VIDEO [=n]=n)
>> && (RFKILL [=n] || RFKILL [=n]=n) && SERIO_I8042 [=y]
>>
Right now it's possible to set dell laptop to compile in but this
causes dell-smbios to compile in which breaks if dcdbas is a module.
Dell laptop shouldn't select dell-smbios anymore, but depend on it.
Fixes: 32d7b19bad96 (platform/x86: dell-smbios: Resolve dependency error on DCDBAS)
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
-rw-r--r-- | drivers/platform/x86/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 39d06dd1f63a..bc309c5327ff 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -154,7 +154,7 @@ config DELL_LAPTOP | |||
154 | depends on ACPI_VIDEO || ACPI_VIDEO = n | 154 | depends on ACPI_VIDEO || ACPI_VIDEO = n |
155 | depends on RFKILL || RFKILL = n | 155 | depends on RFKILL || RFKILL = n |
156 | depends on SERIO_I8042 | 156 | depends on SERIO_I8042 |
157 | select DELL_SMBIOS | 157 | depends on DELL_SMBIOS |
158 | select POWER_SUPPLY | 158 | select POWER_SUPPLY |
159 | select LEDS_CLASS | 159 | select LEDS_CLASS |
160 | select NEW_LEDS | 160 | select NEW_LEDS |