From 4cafd8df7e3418bdd904e53af4fb76b9b4a7ec62 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 31 May 2022 18:31:18 +0200 Subject: [PATCH] drivers: serial: ns16550: remove redundant soc.h include has been traditionally been used as a proxy to HAL headers, register definitions, etc. Nowadays, is anarchy. It serves a different purpose depending on the SoC. In some cases it includes HALs, in some others it works as a header sink/proxy (for no good reason), as a register definition when there's no HAL... To make things worse, it is being included in code that is, in theory, non-SoC specific. This patch is part of a series intended to improve the situation by removing usage when not needed, and by eventually removing it. Signed-off-by: Gerard Marull-Paretas --- drivers/serial/uart_ns16550.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/uart_ns16550.c b/drivers/serial/uart_ns16550.c index 2fc06f321c5..a4f4235c5cb 100644 --- a/drivers/serial/uart_ns16550.c +++ b/drivers/serial/uart_ns16550.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include