aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/master.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/master.c')
-rw-r--r--net/dsa/master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/master.c b/net/dsa/master.c
index a25242e71fb2..d7d5145aa235 100644
--- a/net/dsa/master.c
+++ b/net/dsa/master.c
@@ -158,7 +158,7 @@ static void dsa_master_ethtool_teardown(struct net_device *dev)
158 cpu_dp->orig_ethtool_ops = NULL; 158 cpu_dp->orig_ethtool_ops = NULL;
159} 159}
160 160
161void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp) 161static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp)
162{ 162{
163 unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead; 163 unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead;
164 int err; 164 int err;