Re: [PATCH] EDAC: skx_edac: add ACPI dependency
From: Luck, Tony
Date: Fri Nov 02 2018 - 13:40:03 EST
On Fri, Nov 02, 2018 at 05:10:13PM +0100, Borislav Petkov wrote:
> On Fri, Nov 02, 2018 at 04:32:06PM +0100, Arnd Bergmann wrote:
> > We cannot currently select ACPI_ADXL without also enabling the top-level
> > ACPI option:
> >
> > WARNING: unmet direct dependencies detected for ACPI_ADXL
> > Depends on [n]: ACPI [=n]
> > Selected by [y]:
> > - EDAC_SKX [=y] && EDAC [=y] && PCI [=y] && X86_64 [=y] && X86_MCE_INTEL [=y] && PCI_MMCONFIG [=y] && (ACPI_NFIT [=n] || !ACPI_NFIT [=n])
>
> That should fix the issue too:
>
> https://marc.info/?l=linux-acpi&m=154102117706500&w=2
I have to say that Arnd's fix is prettier. With it, we can go back
to
select ACPI_ADXL
instead of
select ACPI_ADXL if ACPI
-Tony