diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-08-24 15:00:38 +0300 |
---|---|---|
committer | Ramon Fried <rfried.dev@gmail.com> | 2021-09-28 18:50:55 +0300 |
commit | 351b6bb4223ec896a5814db3d36768c564deda5d (patch) | |
tree | 04f35f427d4675f50020b3632c92f42f5fa15049 /drivers/net | |
parent | 596ec9ba5e20c252c3002bad416f38090fdc1502 (diff) | |
download | u-boot-351b6bb4223ec896a5814db3d36768c564deda5d.zip u-boot-351b6bb4223ec896a5814db3d36768c564deda5d.tar.gz u-boot-351b6bb4223ec896a5814db3d36768c564deda5d.tar.bz2 |
net: dsa: felix: felix_init() can be static
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/mscc_eswitch/felix_switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mscc_eswitch/felix_switch.c b/drivers/net/mscc_eswitch/felix_switch.c index f20e84e..7507388 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); |