From patchwork Wed Nov 28 18:37:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 10703153 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2549109C for ; Wed, 28 Nov 2018 18:37:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4D2F28BA1 for ; Wed, 28 Nov 2018 18:37:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97FAC2B736; Wed, 28 Nov 2018 18:37:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44A3D28BA1 for ; Wed, 28 Nov 2018 18:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VEMuVgdilZnkkNxWwLc8/LO85/210wqpOwhqOE3EQYU=; b=K1+piVxzZ1YF+G itnA5kmYuaOLiT3xIgsYB8HpxYdx5HY7B2KKvq/oyPwCOSoHRti2UQ5FinjDqpaQ2pB25kAu82H5O bm05KppETTA6T1Cfri7Th2EwNFb21NcXZde/961hqXLhUuNf7gskgTDbnqo1rPO1d1c9v0OokhxIa gQsRfWHXDyMLd6dLv7940OC8SMaml4pvVEsSp50xuxer6JPJM9Dphtj46uEFfKLI/MbuQWMOJnVhM 0HOxVBJn6REHclb58Hx1QYJYgtP07bHd+vtSbc0IEV8ZT4sYnpAPAn6GH+gWQpDh10CyP8PMDX59m DvPa6Hc+GDdbmnfwQdIQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4i5-0003kP-Lt; Wed, 28 Nov 2018 18:37:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4i2-0003jQ-J7 for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 18:37:15 +0000 Received: from mail.kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4097206B6; Wed, 28 Nov 2018 18:37:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543430223; bh=wo8CGyzXny+71q+HBnsecpTjmKYPgLcXktCiixfIPnw=; h=From:To:Cc:Subject:Date:From; b=hYGOuEeNAUw5clHppTPxiqIZVOBXiZD+LRJoZVbY4HDPE63bIYHEQ8/2Xky7siqGj W9zIIXAtGLciHgvQIn2n/B7xmvtXj4n5ZMDCjzlaSUGnWWB05stn/SyIkqhtKQfIYK 0cTZxDTHAC7tjXAbpxGroiWJjpa8eLsA7RX/frPk= From: Stephen Boyd To: Michael Turquette , Stephen Boyd Subject: [PATCH] clk: renesas: Mark rza2_cpg_clk_register static Date: Wed, 28 Nov 2018 10:37:02 -0800 Message-Id: <20181128183702.231609-1-sboyd@kernel.org> X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181128_103714_641552_65837D29 X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is only used in this file, so mark it static to silence a sparse warning. Cc: Geert Uytterhoeven Signed-off-by: Stephen Boyd Reviewed-by: Geert Uytterhoeven --- I've applied this to clk-renesas branch already, just not pushed out yet. drivers/clk/renesas/r7s9210-cpg-mssr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/r7s9210-cpg-mssr.c b/drivers/clk/renesas/r7s9210-cpg-mssr.c index e0793a9eb668..57c49fe88295 100644 --- a/drivers/clk/renesas/r7s9210-cpg-mssr.c +++ b/drivers/clk/renesas/r7s9210-cpg-mssr.c @@ -155,7 +155,7 @@ static void __init r7s9210_update_clk_table(struct clk *extal_clk, } } -struct clk * __init rza2_cpg_clk_register(struct device *dev, +static struct clk * __init rza2_cpg_clk_register(struct device *dev, const struct cpg_core_clk *core, const struct cpg_mssr_info *info, struct clk **clks, void __iomem *base, struct raw_notifier_head *notifiers)