From: Bin Meng <bmeng.cn@gmail.com>
To: Ramon Fried <rfried.dev@gmail.com>, u-boot@lists.denx.de
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
Subject: [PATCH 3/3] net: tsec: Make redundant_init() static
Date: Wed, 29 Sep 2021 13:50:46 +0800 [thread overview]
Message-ID: <20210929055046.4326-3-bmeng.cn@gmail.com> (raw)
In-Reply-To: <20210929055046.4326-1-bmeng.cn@gmail.com>
redundant_init() is only called in the tsec driver. Make it static.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
drivers/net/tsec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index ee820aae15..b433e411bd 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -432,7 +432,7 @@ static void tsec_halt(struct udevice *dev)
* of the eTSEC port initialization sequence,
* the eTSEC Rx logic may not be properly initialized.
*/
-void redundant_init(struct tsec_private *priv)
+static void redundant_init(struct tsec_private *priv)
{
struct tsec __iomem *regs = priv->regs;
uint t, count = 0;
--
2.25.1
next prev parent reply other threads:[~2021-09-29 5:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 5:50 [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call Bin Meng
2021-09-29 5:50 ` [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool Bin Meng
2021-09-29 13:32 ` Vladimir Oltean
2021-10-16 18:26 ` Ramon Fried
2021-09-29 5:50 ` Bin Meng [this message]
2021-09-29 13:44 ` [PATCH 3/3] net: tsec: Make redundant_init() static Vladimir Oltean
2021-10-16 18:27 ` Ramon Fried
2021-09-29 13:32 ` [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call Vladimir Oltean
2021-10-16 18:26 ` Ramon Fried
2021-10-27 2:18 ` Bin Meng
2021-10-28 4:53 ` Ramon Fried
2021-10-28 18:41 ` Ramon Fried
2021-10-28 19:29 ` Vladimir Oltean
2021-10-30 13:31 ` Ramon Fried
2021-10-30 13:37 ` Bin Meng
2021-10-30 14:39 ` Ramon Fried
2021-10-31 22:04 ` Vladimir Oltean
2021-11-03 7:13 ` Ramon Fried
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=20210929055046.4326-3-bmeng.cn@gmail.com \
--to=bmeng.cn@gmail.com \
--cc=rfried.dev@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=vladimir.oltean@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox