]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
regulator: lochnagar: Explicitly include register headers
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 8 Nov 2018 10:14:00 +0000 (10:14 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Nov 2018 12:16:44 +0000 (12:16 +0000)
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>
drivers/regulator/lochnagar-regulator.c

index 2b5073b9ff868f441bcd152ea2d130fb8d74b74d..182198246479fa6642e57ba3a5996f8a30b5cc45 100644 (file)
@@ -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,