summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-10-20 09:18:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-10-23 11:44:50 +0200
commitcff6de372325c373cd041b3b28193b5320115211 (patch)
tree4fafc8204b52a1b82df6fa2af962f762c30b036d /drivers/serial
parent87105780935f288703c4235aa32415e757795879 (diff)
downloadbarebox-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/serial')
-rw-r--r--drivers/serial/serial_clps711x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_clps711x.c b/drivers/serial/serial_clps711x.c
index 950d22c26c..2a284909bf 100644
--- a/drivers/serial/serial_clps711x.c
+++ b/drivers/serial/serial_clps711x.c
@@ -8,6 +8,7 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <mfd/syscon.h>
+#include <linux/regmap.h>
#define UARTDR 0x00
# define UARTDR_FRMERR (1 << 8)