summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9052-regulator.c
diff options
context:
space:
mode:
authorMark Brown2012-04-16 10:54:24 +0200
committerMark Brown2012-04-16 10:54:24 +0200
commitcd22a965c46e249843c049cbbfe3d9f12270ea2b (patch)
treedda6fbb40a45dfdaa57b0224d5deb943995437b7 /drivers/regulator/da9052-regulator.c
parentregulator: wm8994: Convert to set_voltage_sel() (diff)
downloadkernel-qcow2-linux-cd22a965c46e249843c049cbbfe3d9f12270ea2b.tar.gz
kernel-qcow2-linux-cd22a965c46e249843c049cbbfe3d9f12270ea2b.tar.xz
kernel-qcow2-linux-cd22a965c46e249843c049cbbfe3d9f12270ea2b.zip
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