Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp631610pxb; Tue, 3 Nov 2020 08:27:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzU6HJaju4vpESFZeyuj5dOPyfKNVFjo7zFXsttaGfHoxbGEtSteIqXyfqNs0XL0pb1dyad X-Received: by 2002:aa7:d84a:: with SMTP id f10mr6648625eds.163.1604420857147; Tue, 03 Nov 2020 08:27:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604420857; cv=none; d=google.com; s=arc-20160816; b=W99aKdxZkgHRgG2jp81blC0gdb8ejWvm6tEPlXy2u3gfHeXfH+OIwXoWeM83SL/qwC gJH2BCLUYPprGRjXZiUZgDAF9hcMlbYtn97TIb2HSzY/1UfCgTHuOSJu7nuHpWcsRnEB 6e8z6OND8eN/+EeZZmnd7PwIMHtbMKbQtNkiJbUPpeJtdA21G9NrWRym3UBWwfamB8j5 a3DrNTWDojuekjp7Mhkotz2s12Oo88XpbbQFRCH+r41dLzz3KhQr6MdEPhxFREdq0Hzj aqnAgVt39oSmO6GjbSqchbGtn39Qv4phJtwsDMmxtY9VibWp8qvgep3WhEnLxXlQZ730 7AnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LODTe3HD/viKYCa4qBk8WhgVQ2oiXTeGRJN9MHRrNuM=; b=qTVBb4X5LEL6HLpy7Mso1ynoDQxZxtlkEeUj9DRfdCoftBMfwrri/poO/ss9yl8K2q 7Swib6DCcGNY2LEyRMFYHgYbBHkcNliHj/1uwjdteSyx4Fn+pCnWbCWqLiTxsiCDwBR+ mRb74OYHuYTF6Va/4d9VhSS2aPc9JTTL6gnNqON+uGGFSH4r4QslLM42uVVQrlEsVkX4 YlDihe/CeNAsDwKaDuojjSlOGA3Lz3LeUJIlX04x5xZ3Z7qt+/sEXcDG2JkI6TbdorC2 j59Ssbx/sR0SbH7Gf/7FaL+uactf3f4wdcENnaudo/bn/dfgDaEyJQ1zYryL7YofBAKy XHuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SZbyoJ5p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si5189957ejw.297.2020.11.03.08.27.14; Tue, 03 Nov 2020 08:27:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SZbyoJ5p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728574AbgKCQZD (ORCPT + 99 others); Tue, 3 Nov 2020 11:25:03 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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) -- 2.25.1