ACPI/extlog: Add EDAC dependency
authorBorislav Petkov <bp@suse.de>
Fri, 3 Feb 2017 13:17:43 +0000 (14:17 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 10 Apr 2017 15:14:34 +0000 (17:14 +0200)
We are calling EDAC functions - make the proper dependencies explicit.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: linux-acpi@vger.kernel.org
drivers/acpi/Kconfig

index 83e5f7e1a20d3f7c9fcfd3822f9102673f7c12e5..a71874df3410dff5ff20ea58d66f22ba25054d82 100644 (file)
@@ -469,7 +469,7 @@ config ACPI_WATCHDOG
 
 config ACPI_EXTLOG
        tristate "Extended Error Log support"
-       depends on X86_MCE && X86_LOCAL_APIC
+       depends on X86_MCE && X86_LOCAL_APIC && EDAC
        select UEFI_CPER
        select RAS
        default n