net: usnic: use __ethtool_get_settings
authorDavid Decotigny <decot@googlers.com>
Wed, 24 Feb 2016 18:57:58 +0000 (10:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2016 03:06:45 +0000 (22:06 -0500)
Signed-off-by: David Decotigny <decot@googlers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/usnic/usnic_ib_verbs.c

index ea003ec393d5e4e6c3a050d935dd566cd212db96..1cf19a31f57bf597f6d26b154a8136758238a1b9 100644 (file)
@@ -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;