regulator: arizona-ldo1: add missing #include
PATCH RESEND 1/1 regulator: arizona-ldo1: add missing #include
From: Arnd Bergmann <[email protected]>
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]
---
Hi,
I think this patch got missed when Arnd Bergmann sent it in, I hope no one minds me resending it to make sure it gets applied.
Thanks,
Charles
drivers/regulator/arizona-ldo1.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/arizona-ldo1.c +1 -0
@@ -16,6 +16,7 @@#include <linux/init.h> #include <linux/bitops.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/regulator/driver.h> #include <linux/regulator/machine.h>
Signature · 1 line
1.7.2.5
Mark Brown
maintainerQuoted 7 lines · Charles Keepax
Signed-off-by Arnd Bergmann <[email protected]>Acked-by Charles Keepax <[email protected]>Cc Mark Brown <[email protected]>I think this patch got missed when Arnd Bergmann sent it in, I hope no one minds me resending it to make sure it gets applied.
I can't apply this since you haven't signed it off. Arnd, let me once again remind you to send patches to maintainers.