clk: tegra: Make tegra_clk_super_mux_ops static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Mar 2019 15:35:04 +0000 (23:35 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Apr 2019 18:46:02 +0000 (11:46 -0700)
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>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-super.c

index 84267cf..b5ff76c 100644 (file)
@@ -121,7 +121,7 @@ out:
        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,
 };