From patchwork Tue Nov 3 16:24:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11878377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95954C2D0A3 for ; Tue, 3 Nov 2020 16:27:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00D57206DF for ; Tue, 3 Nov 2020 16:27:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="skKqHCRF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="SZbyoJ5p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00D57206DF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=6e63FA+X44CTI4M2BIGo/0oJ/4wuXRAY0cPzRtncxIM=; b=skKqHCRFktFAIn5G3sTbYoTNi drDzkLlreVVoY9L6BTfICgl+kshmw02tDA4Ui1RxqT96sFY9GRgjiU4p0VP4hB/iNG4nreV8n/Cuj oyrAEMfI8SbhdHNP+vyib/tYYXvcd6KUMzEZ0LZZfrbEV3EMU0WDY7TUotKyvHv05F3qwYqUrKieR YAJ6miarUeIabVuzZ/qCcO3/SWa/OM86qITwDcIoVF0jym3b3iXrHrfTL/S2/kkDOkSY8S0SqKQlj b3JcswBcrJtFr7PFtczONrSu0wxtQDW7MFHgrfoOODMmpxyvIStj7/C8fc+tnjMzqP8Tvac4e5lzP fNZqt6RIQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZz7b-0000FI-HG; Tue, 03 Nov 2020 16:25:23 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZz7F-00006X-LB for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 16:25:02 +0000 Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch [84.226.167.205]) (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 9A57820773; Tue, 3 Nov 2020 16:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604420700; bh=qxGUjyAKucLG+05VEGNWglb8mPI0UTja9MiuRVQDnWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SZbyoJ5pnEf+2XmxMIM4Wz8VfXVkz422bs0tNq1TqfNT7AJ3RhQO56Mja9kGxdzyY Iw7uk5fZ9AL6sqennPXEvwVOJ6Jc3MQxwa1075nRhYBGvJSMwcMkcOvEKodk4r2u8s 4fEdGjJlRddsgT8C75w5oWDwcBdAO8RssCG0zhU8= From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd , Sudeep Holla , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Geert Uytterhoeven , Peng Fan , Abel Vesa , Anson Huang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH 6/8] clk: renesas: r8a779a0-cpg-mssr: add static to local function Date: Tue, 3 Nov 2020 17:24:33 +0100 Message-Id: <20201103162435.13689-6-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103162435.13689-1-krzk@kernel.org> References: <20201103162435.13689-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_112501_900189_7C8A5468 X-CRM114-Status: GOOD ( 15.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The function rcar_r8a779a0_cpg_clk_register() is not used outside of the unit so it can be made static to fix compilation warning: drivers/clk/renesas/r8a779a0-cpg-mssr.c:156:21: warning: no previous prototype for ‘rcar_r8a779a0_cpg_clk_register’ [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski --- drivers/clk/renesas/r8a779a0-cpg-mssr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c index 17ebbac7ddfb..7e25b3b8945b 100644 --- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c @@ -153,7 +153,7 @@ static const struct rcar_r8a779a0_cpg_pll_config *cpg_pll_config __initdata; static unsigned int cpg_clk_extalr __initdata; static u32 cpg_mode __initdata; -struct clk * __init rcar_r8a779a0_cpg_clk_register(struct device *dev, +static struct clk * __init rcar_r8a779a0_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)