From 6f1c9c57b4e0783acca9c0fe53850f24d30785a3 Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Thu, 8 May 2014 17:17:38 +0100 Subject: regulator: arizona-micsupp: Add missing #include of.h is presently being included through asm-generic/gpio.h so will not be included on some architectures, causing implicit declaration errors for of_get_child_by_name, of_parse_phandle and of_node_put. This patch adds the direct include that should be there. Reported-by: Arnd Bergmann Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- drivers/regulator/arizona-micsupp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/regulator/arizona-micsupp.c') diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index b80ebbe88bac..ce9aca5f8ee7 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include -- cgit