aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2023-06-12 11:23:32 -0700
committerStephen Boyd <[email protected]>2023-06-12 14:29:24 -0700
commite13dd04a242cc8c064b9af8cde38b8e9a548cf81 (patch)
tree5a7996fd97d8158f2ec7d83f7d02a0f04c5f61e3
parent9eb77e4207a8b4e3c2967ba39dc46e798caefadf (diff)
clk: meson: a1: Staticize rtc clk
Sparse rightly complains that this symbol is supposed to be static. Cc: Jian Hu <[email protected]> Cc: Dmitry Rokosov <[email protected]> Cc: Martin Blumenstingl <[email protected]> Cc: Jerome Brunet <[email protected]> Fixes: 84af914404db ("clk: meson: a1: add Amlogic A1 Peripherals clock controller driver") Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jerome Brunet <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/meson/a1-peripherals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/a1-peripherals.c b/drivers/clk/meson/a1-peripherals.c
index b320134fefeb..75dfae210fe5 100644
--- a/drivers/clk/meson/a1-peripherals.c
+++ b/drivers/clk/meson/a1-peripherals.c
@@ -218,7 +218,7 @@ static struct clk_regmap rtc_32k_sel = {
},
};
-struct clk_regmap rtc = {
+static struct clk_regmap rtc = {
.data = &(struct clk_regmap_gate_data){
.offset = RTC_BY_OSCIN_CTRL0,
.bit_idx = 30,