From: Vladimir Oltean Date: Tue, 24 Aug 2021 12:00:38 +0000 (+0300) Subject: net: dsa: felix: felix_init() can be static X-Git-Tag: baikal/mips/sdk5.9~15^2^2~102^2~6^2~40 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=d479421f145874d7e9b1d26c169d96bdf6cac4da;p=uboot.git net: dsa: felix: felix_init() can be static No one is calling this function from outside felix_switch.c. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Tested-by: Michael Walle --- diff --git a/drivers/net/mscc_eswitch/felix_switch.c b/drivers/net/mscc_eswitch/felix_switch.c index f20e84e0f1..75073880cf 100644 --- a/drivers/net/mscc_eswitch/felix_switch.c +++ b/drivers/net/mscc_eswitch/felix_switch.c @@ -233,7 +233,7 @@ static void felix_start_pcs(struct udevice *dev, int port, } } -void felix_init(struct udevice *dev) +static void felix_init(struct udevice *dev) { struct dsa_pdata *pdata = dev_get_uclass_plat(dev); struct felix_priv *priv = dev_get_priv(dev);