linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static
@ 2016-06-07 16:38 Ben Dooks
  2016-06-07 16:41 ` Boris Brezillon
  2016-06-21  0:44 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Dooks @ 2016-06-07 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

The of_sama5d2_clk_generated_setup() is not exported outside
of the driver, so make it static to fix the warning about it
being not static:

drivers/clk/at91/clk-generated.c:270:13: warning: symbol 'of_sama5d2_clk_generated_setup' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
 drivers/clk/at91/clk-generated.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/at91/clk-generated.c b/drivers/clk/at91/clk-generated.c
index e1aa210..7f6bec8 100644
--- a/drivers/clk/at91/clk-generated.c
+++ b/drivers/clk/at91/clk-generated.c
@@ -267,7 +267,7 @@ at91_clk_register_generated(struct regmap *regmap,  spinlock_t *lock, const char
 	return clk;
 }
 
-void __init of_sama5d2_clk_generated_setup(struct device_node *np)
+static void __init of_sama5d2_clk_generated_setup(struct device_node *np)
 {
 	int num;
 	u32 id;
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static
  2016-06-07 16:38 [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static Ben Dooks
@ 2016-06-07 16:41 ` Boris Brezillon
  2016-06-21  0:44 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2016-06-07 16:41 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue,  7 Jun 2016 17:38:09 +0100
Ben Dooks <ben.dooks@codethink.co.uk> wrote:

> The of_sama5d2_clk_generated_setup() is not exported outside
> of the driver, so make it static to fix the warning about it
> being not static:
> 
> drivers/clk/at91/clk-generated.c:270:13: warning: symbol 'of_sama5d2_clk_generated_setup' was not declared. Should it be static?
> 
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
> Cc: Michael Turquette <mturquette@baylibre.com>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: linux-clk at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
>  drivers/clk/at91/clk-generated.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/at91/clk-generated.c b/drivers/clk/at91/clk-generated.c
> index e1aa210..7f6bec8 100644
> --- a/drivers/clk/at91/clk-generated.c
> +++ b/drivers/clk/at91/clk-generated.c
> @@ -267,7 +267,7 @@ at91_clk_register_generated(struct regmap *regmap,  spinlock_t *lock, const char
>  	return clk;
>  }
>  
> -void __init of_sama5d2_clk_generated_setup(struct device_node *np)
> +static void __init of_sama5d2_clk_generated_setup(struct device_node *np)
>  {
>  	int num;
>  	u32 id;



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static
  2016-06-07 16:38 [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static Ben Dooks
  2016-06-07 16:41 ` Boris Brezillon
@ 2016-06-21  0:44 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-06-21  0:44 UTC (permalink / raw)
  To: linux-arm-kernel

On 06/07, Ben Dooks wrote:
> The of_sama5d2_clk_generated_setup() is not exported outside
> of the driver, so make it static to fix the warning about it
> being not static:
> 
> drivers/clk/at91/clk-generated.c:270:13: warning: symbol 'of_sama5d2_clk_generated_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:44 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:38 [PATCH] clk: at91: make of_sama5d2_clk_generated_setup() static Ben Dooks
2016-06-07 16:41 ` Boris Brezillon
2016-06-21  0:44 ` 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).