Re: [PATCH v1 1/1] ACPI: NHLT: Remove always included kconfig.h

"Rafael J. Wysocki (Intel)" <[email protected]> Tue, 21 Jul 2026 21:28:43 +0200
Newsgroups dev.linux.lists.acpica-devel,org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel
Message-ID <CAJZ5v0ga2mZ_S0nO8Q-NSN7ZuF9qwhUZ2opxUX_2XGMdg9qFag@mail.gmail.com>
On Fri, Jul 17, 2026 at 7:16=E2=80=AFPM Andy Shevchenko
<[email protected]> wrote:
>
> The inclusion of <linux/kconfig.h> is unneeded as it's guaranteed by
> the build starting from the commit 2a11c8ea20bf ("kconfig: Introduce
> IS_ENABLED(), IS_BUILTIN() and IS_MODULE()"). Remove it here.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
>  include/acpi/nhlt.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/acpi/nhlt.h b/include/acpi/nhlt.h
> index 2108aa6d0207..370958d93706 100644
> --- a/include/acpi/nhlt.h
> +++ b/include/acpi/nhlt.h
> @@ -10,7 +10,6 @@
>  #define __ACPI_NHLT_H__
>
>  #include <linux/acpi.h>
> -#include <linux/kconfig.h>
>  #include <linux/overflow.h>
>  #include <linux/types.h>
>
> --

Applied as 7.3 material, thanks!