linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: renesas: Mark rza2_cpg_clk_register static
@ 2018-11-28 18:37 Stephen Boyd
  2018-11-28 18:42 ` Geert Uytterhoeven
  2018-11-29 21:53 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Boyd @ 2018-11-28 18:37 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: linux-kernel, linux-arm-kernel, linux-renesas-soc, Geert Uytterhoeven

This is only used in this file, so mark it static to silence a sparse
warning.

Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---

I've applied this to clk-renesas branch already, just not pushed out
yet.

 drivers/clk/renesas/r7s9210-cpg-mssr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/renesas/r7s9210-cpg-mssr.c b/drivers/clk/renesas/r7s9210-cpg-mssr.c
index e0793a9eb668..57c49fe88295 100644
--- a/drivers/clk/renesas/r7s9210-cpg-mssr.c
+++ b/drivers/clk/renesas/r7s9210-cpg-mssr.c
@@ -155,7 +155,7 @@ static void __init r7s9210_update_clk_table(struct clk *extal_clk,
 	}
 }
 
-struct clk * __init rza2_cpg_clk_register(struct device *dev,
+static struct clk * __init rza2_cpg_clk_register(struct device *dev,
 	const struct cpg_core_clk *core, const struct cpg_mssr_info *info,
 	struct clk **clks, void __iomem *base,
 	struct raw_notifier_head *notifiers)
-- 
Sent by a computer through tubes


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

* Re: [PATCH] clk: renesas: Mark rza2_cpg_clk_register static
  2018-11-28 18:37 [PATCH] clk: renesas: Mark rza2_cpg_clk_register static Stephen Boyd
@ 2018-11-28 18:42 ` Geert Uytterhoeven
  2018-11-29 21:53 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2018-11-28 18:42 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Michael Turquette, Linux Kernel Mailing List, Linux ARM,
	Linux-Renesas, Geert Uytterhoeven, Chris Brandt

On Wed, Nov 28, 2018 at 7:37 PM Stephen Boyd <sboyd@kernel.org> wrote:
> This is only used in this file, so mark it static to silence a sparse
> warning.
>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH] clk: renesas: Mark rza2_cpg_clk_register static
  2018-11-28 18:37 [PATCH] clk: renesas: Mark rza2_cpg_clk_register static Stephen Boyd
  2018-11-28 18:42 ` Geert Uytterhoeven
@ 2018-11-29 21:53 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2018-11-29 21:53 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: linux-kernel, linux-arm-kernel, linux-renesas-soc, Geert Uytterhoeven

Quoting Stephen Boyd (2018-11-28 10:37:02)
> This is only used in this file, so mark it static to silence a sparse
> warning.
> 
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---

Applied to clk-next


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

end of thread, other threads:[~2018-11-29 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28 18:37 [PATCH] clk: renesas: Mark rza2_cpg_clk_register static Stephen Boyd
2018-11-28 18:42 ` Geert Uytterhoeven
2018-11-29 21:53 ` 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).