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

Stephen Boyd sboyd at codeaurora.org
Wed Jun 21 15:08:58 PDT 2017


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 at arndb.de>

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



More information about the linux-arm-kernel mailing list