diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-30 13:16:22 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-30 14:57:54 -0400 |
commit | 44b4aa97bea84fa8ac179155f147e3483cc7a6e0 (patch) | |
tree | cff697d1dde7c0bd9c9f9bec0850e91709f96d5b /drivers/clk | |
parent | 24afc3852e5ec9c35de5ae1b3c4f9e4ecbf53cb6 (diff) |
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.c | 1 |
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 @@ | |||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/gpio.h> | 15 | #include <linux/gpio.h> |
16 | #include <linux/gpio/consumer.h> | ||
16 | #include <linux/of_gpio.h> | 17 | #include <linux/of_gpio.h> |
17 | #include <linux/err.h> | 18 | #include <linux/err.h> |
18 | #include <linux/device.h> | 19 | #include <linux/device.h> |