diff options
Diffstat (limited to 'net/bridge/br_if.c')
-rw-r--r-- | net/bridge/br_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index b365bba84d19..043a5eb8cafc 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c | |||
@@ -35,7 +35,7 @@ static int port_cost(struct net_device *dev) | |||
35 | { | 35 | { |
36 | struct ethtool_cmd ecmd; | 36 | struct ethtool_cmd ecmd; |
37 | 37 | ||
38 | if (!dev_ethtool_get_settings(dev, &ecmd)) { | 38 | if (!__ethtool_get_settings(dev, &ecmd)) { |
39 | switch (ethtool_cmd_speed(&ecmd)) { | 39 | switch (ethtool_cmd_speed(&ecmd)) { |
40 | case SPEED_10000: | 40 | case SPEED_10000: |
41 | return 2; | 41 | return 2; |