platform/x86: dell-smbios: Resolve dependency error on ACPI_WMI
[linux-block.git] / drivers / platform / x86 / Kconfig
index d10ffe51da242d1e7eaac4a25126cd8bf64283e5..51ebc5a6053fbf847618f4fa9c07e016c3c50f09 100644 (file)
@@ -106,13 +106,14 @@ config ASUS_LAPTOP
          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
-# becomes dependent on the DCDBAS driver. The "depends" line prevents a
-# configuration where DELL_SMBIOS=y while DCDBAS=m.
+# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
+# backends are selected. The "depends" line prevents a configuration
+# where DELL_SMBIOS=y while either of those dependencies =m.
 #
 config DELL_SMBIOS
        tristate "Dell SMBIOS driver"
        depends on DCDBAS || DCDBAS=n
+       depends on ACPI_WMI || ACPI_WMI=n
        ---help---
        This provides support for the Dell SMBIOS calling interface.
        If you have a Dell computer you should enable this option.