]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: tegra: dfll: Make symbol 'tegra210_cpu_cvb_tables' static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 18 Feb 2019 07:06:09 +0000 (07:06 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 18 Feb 2019 10:16:22 +0000 (11:16 +0100)
Fixes the following sparse warning:

drivers/clk/tegra/clk-tegra124-dfll-fcpu.c:244:18: warning:
 symbol 'tegra210_cpu_cvb_tables' was not declared. Should it be static?

Fixes: 2b2dbc2f94e5 ("clk: tegra: dfll: add CVB tables for Tegra210")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/clk/tegra/clk-tegra124-dfll-fcpu.c

index 4b6dd2b3767f0e7e403a85cf98091e1e5803085c..e8ec42bf863869f1d7b73689871ed4e4dadfe21c 100644 (file)
@@ -241,7 +241,7 @@ static const unsigned long tegra210_cpu_max_freq_table[] = {
                {          0UL, {       0, 0, 0 } }, \
        }
 
-struct cvb_table tegra210_cpu_cvb_tables[] = {
+static struct cvb_table tegra210_cpu_cvb_tables[] = {
        {
                .speedo_id = 10,
                .process_id = 0,