diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2018-11-08 10:14:00 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-08 12:16:44 +0000 |
commit | fa2bb8b97d77b4b91658e448e7701d6a432e5b6f (patch) | |
tree | 0f5c5b5b45a215a6b11097eb33f4a420e47af44c /drivers/regulator/lochnagar-regulator.c | |
parent | de226ebda96cafa981b9c0fef56888931668b671 (diff) | |
download | lwn-fa2bb8b97d77b4b91658e448e7701d6a432e5b6f.tar.gz lwn-fa2bb8b97d77b4b91658e448e7701d6a432e5b6f.zip |
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.c | 2 |
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, |