From cff6de372325c373cd041b3b28193b5320115211 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 20 Oct 2023 09:18:47 +0200 Subject: mfd: syscon: do not include regmap.h from mfd/syscon.h mfd/syscon.h include regmap.h when a struct regmap forward declaration would've sufficed. Let's forward declare and fix users of the header to directly include linux/regmap.h where needed. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20231020071853.2826528-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/mfd/syscon.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mfd/syscon.c') diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 16d78de2af..3e12123b57 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -16,6 +16,7 @@ #include #include #include +#include #include -- cgit v1.2.3