Commit a60956ed authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: dsa: Make dsa_master_set_mtu() static

Add the missing static keyword.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 91ba4795
......@@ -158,7 +158,7 @@ static void dsa_master_ethtool_teardown(struct net_device *dev)
cpu_dp->orig_ethtool_ops = NULL;
}
void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
{
unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead;
int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment