]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: tsec: Make redundant_init() static
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 06:15:12 +0000 (14:15 +0800)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 23 Nov 2021 07:57:56 +0000 (09:57 +0200)
redundant_init() is only called in the tsec driver. Make it static.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/tsec.c

index 64bb42b0c0066b2bfdad5d9657cc5d6825956bd8..beca886b256cd1a8bf2c136a7396101859ccd7bc 100644 (file)
@@ -443,7 +443,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;