summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-16 08:54:24 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-16 08:54:24 (GMT)
commitcd22a965c46e249843c049cbbfe3d9f12270ea2b (patch)
treedda6fbb40a45dfdaa57b0224d5deb943995437b7
parent9f29c9e30b98832d98e8f528252fe193123a7d80 (diff)
downloadlinux-cd22a965c46e249843c049cbbfe3d9f12270ea2b.tar.xz
regulator: da9052: Directly include of.h
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-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 2678cbe..eaa91cc5 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