Re: [PATCH] clk: bcm: don't mark iproc_pll_clk_setup as __init

From: Stephen Boyd
Date: Wed Jun 21 2017 - 18:09:05 EST


On 06/21, Arnd Bergmann wrote:
> This function is now called from the probe() function of a
> platform driver, which may be called later than __init,
> which triggers a lot of warnings like:
>
> WARNING: drivers/clk/built-in.o(.text+0x1a41c): Section mismatch in reference from the function sr_lcpll1_clk_init() to the function .init.text:iproc_pll_clk_setup()
>
> This removes the annotation on iproc_pll_clk_setup to address
> all those warnings.
>
> Fixes: 654cdd3229cd ("clk: bcm: Add clocks for Stingray SOC")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks. I already have the fix in my queue though.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project