From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932318AbcBHWNk (ORCPT ); Mon, 8 Feb 2016 17:13:40 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:46877 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756087AbcBHWNi (ORCPT ); Mon, 8 Feb 2016 17:13:38 -0500 Date: Mon, 8 Feb 2016 14:13:35 -0800 From: Stephen Boyd To: Arnd Bergmann Cc: Michael Turquette , linux-arm-kernel@lists.infradead.org, Dinh Nguyen , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: socfpga: fix __init annotation Message-ID: <20160208221335.GS4848@codeaurora.org> References: <1454942356-2783135-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454942356-2783135-1-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project