Re: [PATCH] serial: 8250: remove always included kconfig.h

From: Greg Kroah-Hartman

Date: Thu Jul 30 2026 - 13:53:15 EST


On Tue, Jul 21, 2026 at 10:48:32AM -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
>
> The inclusion of <linux/kconfig.h> in commit 7ab80d1e72431 ("serial: 8250:
> fix compile error with hub6_match_port() when compiled as a module") is
> unneeded as it's guaranteed by the build starting from commit 2a11c8ea20bf
> ("kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()").
> Remove it here.
>
> Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> ---
> Maybe this could be merged with commit 7ab80d1e72431 ("serial: 8250: fix
> compile error with hub6_match_port() when compiled as a module") since it
> is, for now, only in tty-testing?

It's now in tty-next, so I'll just apply this, thanks!

greg k-h