Re: [PATCH] clk: gpio-gate: Ensure gpiod_ APIs are prototyped

From: Mike Turquette
Date: Tue Sep 30 2014 - 14:58:59 EST


Quoting Mark Brown (2014-09-30 10:16:22)
> 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@xxxxxxxxxx>

Thanks Mark. Applied.

Regards,
Mike

> ---
> drivers/clk/clk-gpio-gate.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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>
> --
> 2.1.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/