From: Arnd Bergmann Date: Tue, 27 May 2014 16:27:34 +0000 (+0100) Subject: regulator: arizona-ldo1: add missing #include X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~28^2~4^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b22b9a5aba1eeda05d4b08c8b1c70c9ba385e82;p=pandora-kernel.git regulator: arizona-ldo1: add missing #include commit 2cce4be9e6b8 "regulator: arizona-ldo1: Add processing of init_data from device tree" added a call to of_get_child_by_name() but did not add an #include to the header file declaring that function. I got a build error when doing randconfig testing on this, which is fixed by this patch to include of.h. drivers/regulator/arizona-ldo1.c:192:2: error: implicit declaration of function 'of_get_child_by_name' [-Werror=implicit-function-declaration] drivers/regulator/arizona-ldo1.c:193:2: error: implicit declaration of function 'of_parse_phandle' [-Werror=implicit-function-declaration] drivers/regulator/arizona-ldo1.c:213:2: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- Reading git-diff-tree failed