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 f20e84e..7507388 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);