Skip to content

Commit e13dd04

Browse files
committed
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: 84af914 ("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]>
1 parent 9eb77e4 commit e13dd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/meson/a1-peripherals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ static struct clk_regmap rtc_32k_sel = {
218218
},
219219
};
220220

221-
struct clk_regmap rtc = {
221+
static struct clk_regmap rtc = {
222222
.data = &(struct clk_regmap_gate_data){
223223
.offset = RTC_BY_OSCIN_CTRL0,
224224
.bit_idx = 30,

0 commit comments

Comments
 (0)