On 09/30/2014 08:16 PM, Mark Brown wrote:
The gpio-gate clock uses the gpiod_ APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly.
Signed-off-by: Mark Brown broonie@kernel.org
Acked-by: Jyri Sarha jsarha@ti.com
Thanks. Jyri
drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c index 9dde88533684..08e43224fd52 100644 --- a/drivers/clk/clk-gpio-gate.c +++ b/drivers/clk/clk-gpio-gate.c @@ -13,6 +13,7 @@ #include <linux/module.h> #include <linux/slab.h> #include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/of_gpio.h> #include <linux/err.h> #include <linux/device.h>