Skip to content

Commit

Permalink
clk: gpio-gate: Ensure gpiod_ APIs are prototyped
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Mike Turquette committed Sep 30, 2014
1 parent 24afc38 commit 44b4aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/clk-gpio-gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 44b4aa9

Please sign in to comment.