diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-10-20 09:18:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-10-23 11:44:50 +0200 |
commit | cff6de372325c373cd041b3b28193b5320115211 (patch) | |
tree | 4fafc8204b52a1b82df6fa2af962f762c30b036d /drivers/mfd/syscon.c | |
parent | 87105780935f288703c4235aa32415e757795879 (diff) | |
download | barebox-cff6de372325c373cd041b3b28193b5320115211.tar.gz barebox-cff6de372325c373cd041b3b28193b5320115211.tar.xz |
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 <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20231020071853.2826528-6-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mfd/syscon.c')
-rw-r--r-- | drivers/mfd/syscon.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <of_address.h> #include <linux/err.h> #include <linux/clk.h> +#include <linux/regmap.h> #include <mfd/syscon.h> |