[PATCH] clk: socfpga: fix __init annotation

Stephen Boyd sboyd at codeaurora.org
Mon Feb 8 14:13:35 PST 2016


On 02/08, Arnd Bergmann wrote:
> clang found a bug with the __socfpga_pll_init definition:
> 
> drivers/clk/socfpga/clk-pll-a10.c:77:15: error: '__section__' attribute only applies to functions and
>       global variables
> 
> This moves the __init annotation to the right place so the function
> actually gets discarded.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---

Applied to clk-next

-- 
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