summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-super.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 16:35:04 +0100
committerStephen Boyd <sboyd@kernel.org>2019-04-11 20:46:02 +0200
commitb331db554815d0552c537e189b897eb062486166 (patch)
tree84551df43f406a813174d981dd88405e3de595aa /drivers/clk/tegra/clk-super.c
parentclk: davinci: cfgchip: use PTR_ERR_OR_ZERO in da8xx_cfgchip_register_div4p5 (diff)
downloadlinux-b331db554815d0552c537e189b897eb062486166.tar.xz
linux-b331db554815d0552c537e189b897eb062486166.zip
clk: tegra: Make tegra_clk_super_mux_ops static
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>
Diffstat (limited to 'drivers/clk/tegra/clk-super.c')
-rw-r--r--drivers/clk/tegra/clk-super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-super.c b/drivers/clk/tegra/clk-super.c
index 84267cfc4433..b5ff76c663f8 100644
--- a/drivers/clk/tegra/clk-super.c
+++ b/drivers/clk/tegra/clk-super.c
@@ -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,
};