]> git.baikalelectronics.ru Git - uboot.git/commitdiff
net: dsa: felix: felix_init() can be static
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 24 Aug 2021 12:00:38 +0000 (15:00 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
No one is calling this function from outside felix_switch.c.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Tested-by: Michael Walle <michael@walle.cc>
drivers/net/mscc_eswitch/felix_switch.c

index f20e84e0f10cf62598c3daba9115538e1c7e3efd..75073880cf87085bb957647e7f186f15774589b0 100644 (file)
@@ -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);