[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1jzg54fnvw.fsf@starbuckisacylon.baylibre.com>
Date: Mon, 12 Jun 2023 22:03:11 +0200
From: Jerome Brunet <jbrunet@...libre.com>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
patches@...ts.linux.dev, Jian Hu <jian.hu@...ogic.com>,
Dmitry Rokosov <ddrokosov@...rdevices.ru>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Subject: Re: [PATCH] clk: meson: a1: Staticize rtc clk
On Mon 12 Jun 2023 at 11:23, Stephen Boyd <sboyd@...nel.org> wrote:
> Sparse rightly complains that this symbol is supposed to be static.
>
> Cc: Jian Hu <jian.hu@...ogic.com>
> Cc: Dmitry Rokosov <ddrokosov@...rdevices.ru>
> Cc: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
> Cc: Jerome Brunet <jbrunet@...libre.com>
> Fixes: 84af914404db ("clk: meson: a1: add Amlogic A1 Peripherals clock controller driver")
> Signed-off-by: Stephen Boyd <sboyd@...nel.org>
Reviewed-by: Jerome Brunet <jbrunet@...libre.com>
Sorry this got through.
> ---
> drivers/clk/meson/a1-peripherals.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
Powered by blists - more mailing lists