All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Peng Fan <peng.fan@nxp.com>, Abel Vesa <abel.vesa@nxp.com>,
	Anson Huang <Anson.Huang@nxp.com>,
	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 <krzk@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	[thread overview]
Message-ID: <20201103162435.13689-6-krzk@kernel.org> (raw)
In-Reply-To: <20201103162435.13689-1-krzk@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 <krzk@kernel.org>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Peng Fan <peng.fan@nxp.com>, Abel Vesa <abel.vesa@nxp.com>,
	Anson Huang <Anson.Huang@nxp.com>,
	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 <krzk@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	[thread overview]
Message-ID: <20201103162435.13689-6-krzk@kernel.org> (raw)
In-Reply-To: <20201103162435.13689-1-krzk@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 <krzk@kernel.org>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-11-03 16:25 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 16:24 [PATCH 1/8] clk: pwm: drop of_match_ptr from of_device_id table Krzysztof Kozlowski
2020-11-03 16:24 ` Krzysztof Kozlowski
2020-11-03 16:24 ` [PATCH 2/8] clk: imx8mm: " Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-05  1:11   ` Stephen Boyd
2020-11-05  1:11     ` Stephen Boyd
2020-11-10  1:54   ` Shawn Guo
2020-11-10  1:54     ` Shawn Guo
2020-11-03 16:24 ` [PATCH 3/8] clk: imx8mn: " Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-05  1:11   ` Stephen Boyd
2020-11-05  1:11     ` Stephen Boyd
2020-11-10  1:54   ` Shawn Guo
2020-11-10  1:54     ` Shawn Guo
2020-11-03 16:24 ` [PATCH 4/8] clk: imx8mp: " Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-05  1:11   ` Stephen Boyd
2020-11-05  1:11     ` Stephen Boyd
2020-11-10  1:54   ` Shawn Guo
2020-11-10  1:54     ` Shawn Guo
2020-11-03 16:24 ` [PATCH 5/8] clk: imx8mq: " Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-05  1:11   ` Stephen Boyd
2020-11-05  1:11     ` Stephen Boyd
2020-11-10  1:54   ` Shawn Guo
2020-11-10  1:54     ` Shawn Guo
2020-11-03 16:24 ` Krzysztof Kozlowski [this message]
2020-11-03 16:24   ` [PATCH 6/8] clk: renesas: r8a779a0-cpg-mssr: add static to local function Krzysztof Kozlowski
2020-11-04 10:53   ` Geert Uytterhoeven
2020-11-04 10:53     ` Geert Uytterhoeven
2020-11-03 16:24 ` [PATCH 7/8] clk: renesas: renesas-cpg-mssr: fix kerneldoc of cpg_mssr_priv Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-04 10:52   ` Geert Uytterhoeven
2020-11-04 10:52     ` Geert Uytterhoeven
2020-11-03 16:24 ` [PATCH 8/8] clk: scpi: mark scpi_clk_match as maybe unused Krzysztof Kozlowski
2020-11-03 16:24   ` Krzysztof Kozlowski
2020-11-04  9:00   ` Sudeep Holla
2020-11-04  9:00     ` Sudeep Holla
2020-12-10 20:24   ` Stephen Boyd
2020-12-10 20:24     ` Stephen Boyd
2020-12-10 20:24 ` [PATCH 1/8] clk: pwm: drop of_match_ptr from of_device_id table Stephen Boyd
2020-12-10 20:24   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201103162435.13689-6-krzk@kernel.org \
    --to=krzk@kernel.org \
    --cc=Anson.Huang@nxp.com \
    --cc=abel.vesa@nxp.com \
    --cc=festevam@gmail.com \
    --cc=geert+renesas@glider.be \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=peng.fan@nxp.com \
    --cc=s.hauer@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=sudeep.holla@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.