summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lochnagar-regulator.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2018-11-08 10:14:00 +0000
committerMark Brown <broonie@kernel.org>2018-11-08 12:16:44 +0000
commitfa2bb8b97d77b4b91658e448e7701d6a432e5b6f (patch)
tree0f5c5b5b45a215a6b11097eb33f4a420e47af44c /drivers/regulator/lochnagar-regulator.c
parentde226ebda96cafa981b9c0fef56888931668b671 (diff)
downloadlinux-fa2bb8b97d77b4b91658e448e7701d6a432e5b6f.tar.bz2
regulator: lochnagar: Explicitly include register headers
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> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lochnagar-regulator.c')
-rw-r--r--drivers/regulator/lochnagar-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index 2b5073b9ff86..182198246479 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,