[PATCH] clk: zynq: Add missing zynq clk header
Mike Turquette
mturquette at linaro.org
Wed Mar 27 11:44:40 EDT 2013
Quoting Michal Simek (2013-03-27 07:45:06)
> Include zynq clk header where init function is declared.
>
> It removes this sparse warning:
> drivers/clk/clk-zynq.c:373:13: warning: symbol
> 'xilinx_zynq_clocks_init' was not declared. Should it be static?
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Thanks for the fix. Pulled into clk-next.
Regards,
Mike
> ---
> drivers/clk/clk-zynq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk-zynq.c b/drivers/clk/clk-zynq.c
> index b14a25f..3206297 100644
> --- a/drivers/clk/clk-zynq.c
> +++ b/drivers/clk/clk-zynq.c
> @@ -20,6 +20,7 @@
> #include <linux/slab.h>
> #include <linux/kernel.h>
> #include <linux/clk-provider.h>
> +#include <linux/clk/zynq.h>
>
> static void __iomem *slcr_base;
>
> --
> 1.7.9.7
More information about the linux-arm-kernel
mailing list