[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeYDiv3gR77xjmj1QitmtTyNykXXFJtYyEFL95sgo1L9A@mail.gmail.com>
Date: Mon, 12 Mar 2018 11:23:20 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Darren Hart <dvhart@...radead.org>
Cc: Platform Driver <platform-driver-x86@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Mario Limonciello <mario.limonciello@...l.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] platform/x86: dell_smbios: Resolve dependency error on ACPI_WMI
On Sun, Mar 11, 2018 at 2:28 AM, Darren Hart <dvhart@...radead.org> wrote:
> Similarly to DCDBAS for DELL_SMBIOS_SMM, if DELL_SMBIOS_WMI is enabled,
> DELL_SMBIOS becomes dependent on ACPI_WMI. Update the depends line to
> prevent a configuration where DELL_SMBIOS=y and either backend
> dependency =m. Update the comment accordingly.
> +# 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 (DCDBAS || DCDBAS=n) && (ACPI_WMI || ACPI_WMI=n)
A nit: Perhaps separate depends on line for those two?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists