diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-03-15 14:03:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-16 12:41:16 +0100 |
commit | d16da513c9c8f394216b8dd7c258e667b2c43c74 (patch) | |
tree | ba8121ad5ce4b6c6739110ad091141739b6f14e5 /drivers/regulator/tps65910-regulator.c | |
parent | Linux 4.0-rc1 (diff) | |
download | linux-d16da513c9c8f394216b8dd7c258e667b2c43c74.tar.xz linux-d16da513c9c8f394216b8dd7c258e667b2c43c74.zip |
regulator: tps65910: Add missing #include <linux/of.h>
drivers/regulator/tps65910-regulator.c: In function ‘tps65910_parse_dt_reg_data’:
drivers/regulator/tps65910-regulator.c:1018: error: implicit declaration of function ‘of_get_child_by_name’
drivers/regulator/tps65910-regulator.c:1018: warning: assignment makes pointer from integer without a cast
drivers/regulator/tps65910-regulator.c:1034: error: implicit declaration of function ‘of_node_put’
drivers/regulator/tps65910-regulator.c:1056: error: implicit declaration of function ‘of_property_read_u32’
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
-rw-r--r-- | drivers/regulator/tps65910-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index e2cffe01b807..fb991ec76423 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c @@ -17,6 +17,7 @@ #include <linux/module.h> #include <linux/init.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/regulator/driver.h> #include <linux/regulator/machine.h> |