From: Bin Meng Date: Mon, 1 Nov 2021 06:15:12 +0000 (+0800) Subject: net: tsec: Make redundant_init() static X-Git-Tag: baikal/mips/sdk5.9~7^2^2~112^2~20^2~2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=fa3e435bd930fa3d1455db8ff11ad5be368a10b0;p=uboot.git net: tsec: Make redundant_init() static redundant_init() is only called in the tsec driver. Make it static. Signed-off-by: Bin Meng Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 64bb42b0c0..beca886b25 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -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;