linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static
@ 2019-03-19 15:35 Yue Haibing
  2019-03-20  8:44 ` Thierry Reding
  2019-04-11 18:45 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2019-03-19 15:35 UTC (permalink / raw)
  To: pdeschrijver, pgaikwad, mturquette, sboyd, thierry.reding, jonathanh
  Cc: linux-kernel, linux-tegra, linux-clk, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

Fix sparse warning:

drivers/clk/tegra/clk-super.c:124:22:
 warning: symbol 'tegra_clk_super_mux_ops' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/clk/tegra/clk-super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/tegra/clk-super.c b/drivers/clk/tegra/clk-super.c
index 84267cf..b5ff76c 100644
--- a/drivers/clk/tegra/clk-super.c
+++ b/drivers/clk/tegra/clk-super.c
@@ -121,7 +121,7 @@ static int clk_super_set_parent(struct clk_hw *hw, u8 index)
 	return err;
 }
 
-const struct clk_ops tegra_clk_super_mux_ops = {
+static const struct clk_ops tegra_clk_super_mux_ops = {
 	.get_parent = clk_super_get_parent,
 	.set_parent = clk_super_set_parent,
 };
-- 
2.7.4



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

* Re: [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static
  2019-03-19 15:35 [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static Yue Haibing
@ 2019-03-20  8:44 ` Thierry Reding
  2019-04-11 18:45 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2019-03-20  8:44 UTC (permalink / raw)
  To: Yue Haibing
  Cc: pdeschrijver, pgaikwad, mturquette, sboyd, jonathanh,
	linux-kernel, linux-tegra, linux-clk

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

On Tue, Mar 19, 2019 at 11:35:04PM +0800, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
> 
> Fix sparse warning:
> 
> drivers/clk/tegra/clk-super.c:124:22:
>  warning: symbol 'tegra_clk_super_mux_ops' was not declared. Should it be static?
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  drivers/clk/tegra/clk-super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static
  2019-03-19 15:35 [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static Yue Haibing
  2019-03-20  8:44 ` Thierry Reding
@ 2019-04-11 18:45 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2019-04-11 18:45 UTC (permalink / raw)
  To: Yue Haibing, jonathanh, mturquette, pdeschrijver, pgaikwad,
	thierry.reding
  Cc: linux-kernel, linux-tegra, linux-clk, YueHaibing

Quoting Yue Haibing (2019-03-19 08:35:04)
> From: YueHaibing <yuehaibing@huawei.com>
> 
> Fix sparse warning:
> 
> drivers/clk/tegra/clk-super.c:124:22:
>  warning: symbol 'tegra_clk_super_mux_ops' was not declared. Should it be static?
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---

Applied to clk-next


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

end of thread, other threads:[~2019-04-11 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19 15:35 [PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static Yue Haibing
2019-03-20  8:44 ` Thierry Reding
2019-04-11 18: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).