]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: Kconfig: Fix dell-laptop dependency chain.
authorMario Limonciello <mario.limonciello@dell.com>
Fri, 20 Apr 2018 17:42:11 +0000 (12:42 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Mon, 23 Apr 2018 15:52:59 +0000 (08:52 -0700)
commit6ed66c3ce095ae65bbc976b5817c318653745736
tree72f72e5ce9d4494ab63cd242a7867a96c7e3141e
parentd605ca29c35d9ebc0c32c386d95336d5339f61f7
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>
drivers/platform/x86/Kconfig