From: Geert Uytterhoeven Date: Sun, 15 Mar 2015 13:03:50 +0000 (+0100) Subject: regulator: tps65910: Add missing #include X-Git-Tag: v4.14-rc1~5764^2^3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d16da513c9c8f394216b8dd7c258e667b2c43c74;p=platform%2Fkernel%2Flinux-rpi.git regulator: tps65910: Add missing #include 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index e2cffe0..fb991ec 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include