diff options
author | Stephen Boyd <sboyd@kernel.org> | 2023-06-12 11:23:32 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-06-12 14:29:24 -0700 |
commit | e13dd04a242cc8c064b9af8cde38b8e9a548cf81 (patch) | |
tree | 5a7996fd97d8158f2ec7d83f7d02a0f04c5f61e3 /drivers/clk/meson/a1-peripherals.c | |
parent | 9eb77e4207a8b4e3c2967ba39dc46e798caefadf (diff) |
clk: meson: a1: Staticize rtc clk
Sparse rightly complains that this symbol is supposed to be static.
Cc: Jian Hu <jian.hu@amlogic.com>
Cc: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Fixes: 84af914404db ("clk: meson: a1: add Amlogic A1 Peripherals clock controller driver")
Link: https://lore.kernel.org/r/20230612182332.371003-1-sboyd@kernel.org
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/meson/a1-peripherals.c')
-rw-r--r-- | drivers/clk/meson/a1-peripherals.c | 2 |
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, |