Thread (14 messages) 14 messages, 4 authors, 2018-11-15
STALE2808d

[PATCH 1/6] regulator: lochnagar: Explicitly include register headers

From: Charles Keepax <ckeepax@opensource.cirrus.com>
Date: 2018-11-08 10:14:51
Also in: linux-clk, linux-gpio, lkml
Subsystem: cirrus logic lochnagar driver, the rest, voltage and current regulator framework · Maintainers: Charles Keepax, Richard Fitzgerald, Linus Torvalds, Liam Girdwood, Mark Brown

Review of the MFD component has stated we should not include the
register headers through lochnagar.h and thus removed them from that
header. Explicitly include them in the end drivers manually.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 drivers/regulator/lochnagar-regulator.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index 2b5073b9ff868..182198246479f 100644
--- a/drivers/regulator/lochnagar-regulator.c
+++ b/drivers/regulator/lochnagar-regulator.c
@@ -20,6 +20,8 @@
 #include <linux/regulator/of_regulator.h>
 
 #include <linux/mfd/lochnagar.h>
+#include <linux/mfd/lochnagar1_regs.h>
+#include <linux/mfd/lochnagar2_regs.h>
 
 static const struct regulator_ops lochnagar_micvdd_ops = {
 	.enable = regulator_enable_regmap,
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help