diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-30 18:16:22 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-30 11:57:54 -0700 |
commit | 44b4aa97bea84fa8ac179155f147e3483cc7a6e0 (patch) | |
tree | cff697d1dde7c0bd9c9f9bec0850e91709f96d5b /drivers/clk/clk-gpio-gate.c | |
parent | 24afc3852e5ec9c35de5ae1b3c4f9e4ecbf53cb6 (diff) | |
download | op-kernel-dev-44b4aa97bea84fa8ac179155f147e3483cc7a6e0.zip op-kernel-dev-44b4aa97bea84fa8ac179155f147e3483cc7a6e0.tar.gz |
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/clk-gpio-gate.c')
-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 9dde8853..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> |