clk: sifive: fu540-prci: Declare static const variable 'prci_clk_fu540' where it...
authorLee Jones <lee.jones@linaro.org>
Wed, 20 Jan 2021 09:30:26 +0000 (09:30 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Feb 2021 19:56:06 +0000 (11:56 -0800)
commit487dc7bb6a0c14f22a0785b0301a4d9ae7e2f712
treeefa35797da2ed1baf77251ef29038d22cbcfc60d
parentee70d49abf2165ef2ff8a898740eeb6f93d34479
clk: sifive: fu540-prci: Declare static const variable 'prci_clk_fu540' where it's used

Fixes the following W=1 kernel build warning(s):

 drivers/clk/sifive/fu540-prci.h:16:35: warning: ‘prci_clk_fu540’ defined but not used [-Wunused-const-variable=]
 drivers/clk/sifive/fu540-prci.h:16:35: warning: ‘prci_clk_fu540’ defined but not used [-Wunused-const-variable=]

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Pragnesh Patel <Pragnesh.patel@sifive.com>
Cc: Zong Li <zong.li@sifive.com>
Cc: linux-clk@vger.kernel.org
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210120093040.1719407-7-lee.jones@linaro.org
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sifive/fu540-prci.h
drivers/clk/sifive/sifive-prci.c