summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-09-30 18:16:22 +0100
committerMike Turquette <mturquette@linaro.org>2014-09-30 11:57:54 -0700
commit44b4aa97bea84fa8ac179155f147e3483cc7a6e0 (patch)
treecff697d1dde7c0bd9c9f9bec0850e91709f96d5b /drivers/clk
parent24afc3852e5ec9c35de5ae1b3c4f9e4ecbf53cb6 (diff)
downloadlinux-44b4aa97bea84fa8ac179155f147e3483cc7a6e0.tar.bz2
clk: gpio-gate: Ensure gpiod_ APIs are prototyped
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-gpio-gate.c1
1 files changed, 1 insertions, 0 deletions
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>