clk: gpio-gate: Ensure gpiod_ APIs are prototyped
authorMark Brown <broonie@kernel.org>
Tue, 30 Sep 2014 17:16:22 +0000 (18:16 +0100)
committerMike Turquette <mturquette@linaro.org>
Tue, 30 Sep 2014 18:57:54 +0000 (11:57 -0700)
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>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-gpio-gate.c

index 9dde88533684ef03bbbc30fcdd3a91eb20dd018d..08e43224fd522a876ed8cf736e43f2bc739c930d 100644 (file)
@@ -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>
This page took 0.02595 seconds and 5 git commands to generate.