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

Greg Kroah-Hartman <[email protected]> Thu, 30 Jul 2026 16:47:46 +0200
Newsgroups gmane.linux.serial,gmane.linux.kernel
Message-ID <2026073034-unbroken-busload-f0cf@gregkh>
On Tue, Jul 21, 2026 at 10:48:32AM -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Hugo Villeneuve <[email protected]>
> ---
> 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