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: 11878343 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 137C014B2 for ; Tue, 3 Nov 2020 16:25:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E6CE422264 for ; Tue, 3 Nov 2020 16:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604420704; bh=qxGUjyAKucLG+05VEGNWglb8mPI0UTja9MiuRVQDnWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EB2mtTAgiasnUN73v1gfOYY4qscFr/UwP5WMjAr4Z8tv01BVlIjCJxJEfSj1qTrJO HoCP8Qqy5qaW89Wats9GFwJUjoepkh9PAyA57XDunIh1Vi8K+eJC1o3LNYYdNHqkcl A2KvVXlsHbf9xRE15l+3eW5FPOyeg5OdX5WedmOU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728553AbgKCQZC (ORCPT ); Tue, 3 Nov 2020 11:25:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:51678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728532AbgKCQZB (ORCPT ); Tue, 3 Nov 2020 11:25:01 -0500 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 Cc: Krzysztof Kozlowski 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 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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)