From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03EFEC433FE for ; Tue, 11 Oct 2022 01:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8roQgwsDN2P3G+xcBsOdysgD/dyXC0sYBrYOSDlLOxU=; b=3rTJx2816GHyEn Jyns+8jeLuqKRtsVAgOTTt5svS3bs5m5inHRgyJxfRonlITs+gQUD5pTuVTS/DOTsvSsv9Xz5nZWh eWgO7fSHoEoaPuhuKVJhMyFzmIlC7DJ2BiP2oGpPlxN9ByAbQRg210wBQnhWmn5ei3Hyxx9Elsw6X e+L04nxZfHCyLPGeXAKt/f7fFf5V/mVecRZHrG+UMSsYjYkqAEEC3rw/sI8hO1SeV6bb2P/1+Tvzp +CzuO4H36G1WBHmIIagHHUJNEwYHSgCzKlRhXJJt2cg64h3jBkSqGFDAkc4HzYUsJCKSb1hd4rBir zarokWIzrV5LzoWmXtqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oi3e5-002rK8-3X; Tue, 11 Oct 2022 01:01:21 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oi3e1-002rJ9-Uc for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 01:01:19 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 506136101F; Tue, 11 Oct 2022 01:01:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6245C433C1; Tue, 11 Oct 2022 01:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665450076; bh=zxJYT5ycVFhBgH4yblE9JhcDtsnHB0kvpqIUWjbYkk8=; h=In-Reply-To:References:Subject:From:Cc:List-Id:To:Date:From; b=ISiIv29GNFnuiufbYk7G6jhYGTWdwA4hnHBrFAFh+POBIB1RQeB3l+vAycDM3G1OQ 0Zpc+GXAfiwJZoyDi70kCADXdW1jgDuTtAvkD0T/g8EgPYbpZKB1TWo1cbQ/ms1pB9 sJw4CPb0nTxRaz06j3hqQbZyNmuwNoifBnO18pMcl1EiE3buxFDszW88sUCIIcXHRs XNhlu+D2O5ZLEQqhmJ1sv+Lq2GbbGvoY1RPlSXbLe4raz2E8ByAr5jiNGyjryg8qbo xeqp1C7bx2DzkWRcyRtpLJYUqptIis9cgcDMb/k/nwuLgXaHW4JiAjq1BWknrBycvn uoJStHYC3zK9w== MIME-Version: 1.0 In-Reply-To: References: Subject: Re: [PATCH] clk: spear: Move prototype to accessible header From: Stephen Boyd Cc: Viresh Kumar , kernel test robot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org To: Michael Turquette , Russell King , Shiraz Hashim , Viresh Kumar , Viresh Kumar , soc@kernel.org Date: Mon, 10 Oct 2022 18:01:14 -0700 User-Agent: alot/0.10 Message-Id: <20221011010116.A6245C433C1@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221010_180118_040286_BF4250C9 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Viresh Kumar (2022-10-09 21:22:37) > Fixes the following W=1 kernel build warning(s): > > drivers/clk/spear/spear6xx_clock.c:116:13: warning: no previous prototype for function 'spear6xx_clk_init' [-Wmissing-prototypes] > > Reported-by: kernel test robot > Signed-off-by: Viresh Kumar > --- Acked-by: Stephen Boyd > diff --git a/include/linux/clk/spear.h b/include/linux/clk/spear.h > index a64d034ceddd..eaf95ca656f8 100644 > --- a/include/linux/clk/spear.h > +++ b/include/linux/clk/spear.h > @@ -8,6 +8,20 @@ > #ifndef __LINUX_CLK_SPEAR_H > #define __LINUX_CLK_SPEAR_H > > +#ifdef CONFIG_ARCH_SPEAR3XX > +void __init spear3xx_clk_init(void __iomem *misc_base, __init is meaningless in header files > + void __iomem *soc_config_base); > +#else > +static inline void __init spear3xx_clk_init(void __iomem *misc_base, > + void __iomem *soc_config_base) {} > +#endif > + _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel