[PATCH] clk: iproc: fix missing include of clk-iproc.h
Ray Jui
ray.jui at broadcom.com
Tue Jun 7 09:36:42 PDT 2016
Hi Ben,
On 6/7/2016 9:32 AM, Ben Dooks wrote:
> Fix the implicit declaration of iproc_armpll_setup() by
> including clk-iproc.h which defines it. Fixes the warning:
>
> drivers/clk/bcm/clk-iproc-armpll.c:242:13: warning: symbol 'iproc_armpll_setup' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
> ---
> Cc: Michael Turquette <mturquette at baylibre.com>
> Cc: Stephen Boyd <sboyd at codeaurora.org>
> Cc: Ray Jui <rjui at broadcom.com>
> Cc: Jon Mason <jonmason at broadcom.com>
> Cc: linux-clk at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: bcm-kernel-feedback-list at broadcom.com
> ---
> drivers/clk/bcm/clk-iproc-armpll.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/bcm/clk-iproc-armpll.c b/drivers/clk/bcm/clk-iproc-armpll.c
> index a196ee2..698c507 100644
> --- a/drivers/clk/bcm/clk-iproc-armpll.c
> +++ b/drivers/clk/bcm/clk-iproc-armpll.c
> @@ -20,6 +20,8 @@
> #include <linux/clkdev.h>
> #include <linux/of_address.h>
>
> +#include "clk-iproc.h"
> +
> #define IPROC_CLK_MAX_FREQ_POLICY 0x3
> #define IPROC_CLK_POLICY_FREQ_OFFSET 0x008
> #define IPROC_CLK_POLICY_FREQ_POLICY_FREQ_SHIFT 8
>
Looks good.
Acked-by: Ray Jui <ray.jui at broadcom.com>
Thanks,
Ray
More information about the linux-arm-kernel
mailing list