regulator: da9052: Directly include of.h
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 08:54:24 +0000 (09:54 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 08:54:24 +0000 (09:54 +0100)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/da9052-regulator.c

index 2678cbe91d9df0b3cac05f4a9baac8c85b6a2fee..eaa91cc5840b4bb0712ff9d80e033f0a7258d466 100644 (file)
@@ -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