platform/x86: dell-smbios: Resolve dependency error on ACPI_WMI
Similarly to DCDBAS for DELL_SMBIOS_SMM, if DELL_SMBIOS_WMI is enabled, DELL_SMBIOS becomes dependent on ACPI_WMI. Update the depends lines to prevent a configuration where DELL_SMBIOS=y and either backend dependency =m. Update the comment accordingly. Cc: Mario Limonciello <mario.limonciello@dell.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
This commit is contained in:
Родитель
cc69c88fbe
Коммит
4716007c23
|
@ -106,13 +106,14 @@ config ASUS_LAPTOP
|
||||||
If you have an ACPI-compatible ASUS laptop, say Y or M here.
|
If you have an ACPI-compatible ASUS laptop, say Y or M here.
|
||||||
|
|
||||||
#
|
#
|
||||||
# If the DELL_SMBIOS_SMM feature is enabled, the DELL_SMBIOS driver
|
# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
|
||||||
# becomes dependent on the DCDBAS driver. The "depends" line prevents a
|
# backends are selected. The "depends" line prevents a configuration
|
||||||
# configuration where DELL_SMBIOS=y while DCDBAS=m.
|
# where DELL_SMBIOS=y while either of those dependencies =m.
|
||||||
#
|
#
|
||||||
config DELL_SMBIOS
|
config DELL_SMBIOS
|
||||||
tristate "Dell SMBIOS driver"
|
tristate "Dell SMBIOS driver"
|
||||||
depends on DCDBAS || DCDBAS=n
|
depends on DCDBAS || DCDBAS=n
|
||||||
|
depends on ACPI_WMI || ACPI_WMI=n
|
||||||
---help---
|
---help---
|
||||||
This provides support for the Dell SMBIOS calling interface.
|
This provides support for the Dell SMBIOS calling interface.
|
||||||
If you have a Dell computer you should enable this option.
|
If you have a Dell computer you should enable this option.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче