public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: gpio-gate: Ensure gpiod_ APIs are prototyped
@ 2014-09-30 17:16 Mark Brown
  2014-09-30 17:22 ` Jyri Sarha
  2014-09-30 18:58 ` Mike Turquette
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2014-09-30 17:16 UTC (permalink / raw)
  To: Mike Turquette, Jyri Sarha
  Cc: linux-kernel, kernel-build-reports, linaro-kernel, Mark Brown

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>
---
 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>
-- 
2.1.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-30 18:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 17:16 [PATCH] clk: gpio-gate: Ensure gpiod_ APIs are prototyped Mark Brown
2014-09-30 17:22 ` Jyri Sarha
2014-09-30 18:58 ` Mike Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox