Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329640

Re: [PATCH] clk: socfpga: fix __init annotation

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: socfpga: fix __init annotation
Date 2016-02-08 23:20 +0100
Message-ID <r02k3-2Zq-33@gated-at.bofh.it> (permalink)
References <qZViA-6Ep-77@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Applied to clk-next

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: socfpga: fix __init annotation Arnd Bergmann <arnd@arndb.de> - 2016-02-08 15:50 +0100
  Re: [PATCH] clk: socfpga: fix __init annotation Stephen Boyd <sboyd@codeaurora.org> - 2016-02-08 23:20 +0100

csiph-web