From: Charles Keepax Date: Thu, 8 May 2014 16:17:38 +0000 (+0100) Subject: regulator: arizona-micsupp: Add missing #include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6f1c9c57b4e0783acca9c0fe53850f24d30785a3;p=linux.git 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 --- diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index b80ebbe88bac5..ce9aca5f8ee73 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include