diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-30 17:16:22 (GMT) |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-30 18:57:54 (GMT) |
commit | 44b4aa97bea84fa8ac179155f147e3483cc7a6e0 (patch) | |
tree | cff697d1dde7c0bd9c9f9bec0850e91709f96d5b /drivers/clk | |
parent | 24afc3852e5ec9c35de5ae1b3c4f9e4ecbf53cb6 (diff) | |
download | linux-44b4aa97bea84fa8ac179155f147e3483cc7a6e0.tar.xz |
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 9dde885..08e4322 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> |