Re: [PATCH] clk: socfpga: fix __init annotation
From: Stephen Boyd
Date: Mon Feb 08 2016 - 17:13:42 EST
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@xxxxxxxx>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project