diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-12-08 17:06:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-08 21:39:19 -0800 |
commit | a60956ed72f7b715e9918df93fcf2f63a30fdda1 (patch) | |
tree | 4ff48b1ed15dafb6fe06e197628df9587e410019 | |
parent | 91ba479573792e1f375e6c2b587c6eab882baa20 (diff) |
net: dsa: Make dsa_master_set_mtu() static
Add the missing static keyword.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/dsa/master.c | 2 |
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) 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; |