summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9052-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-16 09:54:24 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-16 09:54:24 +0100
commitcd22a965c46e249843c049cbbfe3d9f12270ea2b (patch)
treedda6fbb40a45dfdaa57b0224d5deb943995437b7 /drivers/regulator/da9052-regulator.c
parent9f29c9e30b98832d98e8f528252fe193123a7d80 (diff)
downloadlinux-cd22a965c46e249843c049cbbfe3d9f12270ea2b.tar.bz2
regulator: da9052: Directly include of.h
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/da9052-regulator.c')
-rw-r--r--drivers/regulator/da9052-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c
index 2678cbe91d9d..eaa91cc5840b 100644
--- a/drivers/regulator/da9052-regulator.c
+++ b/drivers/regulator/da9052-regulator.c
@@ -20,6 +20,7 @@
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#ifdef CONFIG_OF
+#include <linux/of.h>
#include <linux/regulator/of_regulator.h>
#endif