* [PATCH] clk: iproc: fix missing include of clk-iproc.h
@ 2016-06-07 16:32 Ben Dooks
2016-06-07 16:36 ` Ray Jui
2016-06-21 0:45 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Ben Dooks @ 2016-06-07 16:32 UTC (permalink / raw)
To: linux-arm-kernel
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@codethink.co.uk>
---
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Ray Jui <rjui@broadcom.com>
Cc: Jon Mason <jonmason@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
--
2.8.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] clk: iproc: fix missing include of clk-iproc.h
2016-06-07 16:32 [PATCH] clk: iproc: fix missing include of clk-iproc.h Ben Dooks
@ 2016-06-07 16:36 ` Ray Jui
2016-06-21 0:45 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Ray Jui @ 2016-06-07 16:36 UTC (permalink / raw)
To: linux-arm-kernel
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@codethink.co.uk>
> ---
> Cc: Michael Turquette <mturquette@baylibre.com>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Ray Jui <rjui@broadcom.com>
> Cc: Jon Mason <jonmason@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@broadcom.com>
Thanks,
Ray
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] clk: iproc: fix missing include of clk-iproc.h
2016-06-07 16:32 [PATCH] clk: iproc: fix missing include of clk-iproc.h Ben Dooks
2016-06-07 16:36 ` Ray Jui
@ 2016-06-21 0:45 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-06-21 0:45 UTC (permalink / raw)
To: linux-arm-kernel
On 06/07, 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@codethink.co.uk>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-21 0:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 16:32 [PATCH] clk: iproc: fix missing include of clk-iproc.h Ben Dooks
2016-06-07 16:36 ` Ray Jui
2016-06-21 0:45 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).