summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/usnic
diff options
context:
space:
mode:
authorDavid Decotigny <decot@googlers.com>2016-02-24 10:57:58 -0800
committerDavid S. Miller <davem@davemloft.net>2016-02-25 22:06:45 -0500
commit48133335d7e0a661f40a5899d20945dabb600f0a (patch)
tree954d515f8a0ffa4f19ad1b31a804053a160d4d10 /drivers/infiniband/hw/usnic
parent4f03980ca4d7f56222c8397d7b91f15efafa2918 (diff)
downloadlinux-48133335d7e0a661f40a5899d20945dabb600f0a.tar.bz2
net: usnic: use __ethtool_get_settings
Signed-off-by: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/usnic')
-rw-r--r--drivers/infiniband/hw/usnic/usnic_ib_verbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index ea003ec393d5..1cf19a31f57b 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
+++ b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@ -329,7 +329,7 @@ int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
usnic_dbg("\n");
mutex_lock(&us_ibdev->usdev_lock);
- us_ibdev->netdev->ethtool_ops->get_settings(us_ibdev->netdev, &cmd);
+ __ethtool_get_settings(us_ibdev->netdev, &cmd);
memset(props, 0, sizeof(*props));
props->lid = 0;