Re: [PATCH 11/12] gpio: ich: enable building with COMPILE_TEST=y
From: Andy Shevchenko
Date: Mon Apr 07 2025 - 04:56:01 EST
On Mon, Apr 07, 2025 at 09:13:20AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> Extend the build coverage by allowing to build the module with
> COMPILE_TEST enabled.
...
> config GPIO_ICH
> tristate "Intel ICH GPIO"
> - depends on X86
> - depends on LPC_ICH
> + depends on (X86 && LPC_ICH) || COMPILE_TEST
I don't see why LPC_ICH should be here.
We do all-or-none approach for compile test for (x86) MFD drivers,
no need to test it separately (it makes a little sense).
depends on X86 || COMPILE_TEST
depends on LPC_ICH
--
With Best Regards,
Andy Shevchenko