Browse Source

regulator: da9052: Directly include of.h

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 13 years ago
parent
commit
cd22a965c4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/regulator/da9052-regulator.c

+ 1 - 0
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