sfc: efx_ethtool_get_ts_info() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 3 Jul 2013 06:07:40 +0000 (14:07 +0800)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 20 Sep 2013 18:31:42 +0000 (19:31 +0100)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ethtool.c

index 5b471cf5c323a2aabae6ae3c55404194e6f90c42..c8dc407513b0751690a3e247da91fa8b724d2cd4 100644 (file)
@@ -1035,8 +1035,8 @@ static int efx_ethtool_set_rxfh_indir(struct net_device *net_dev,
        return 0;
 }
 
-int efx_ethtool_get_ts_info(struct net_device *net_dev,
-                           struct ethtool_ts_info *ts_info)
+static int efx_ethtool_get_ts_info(struct net_device *net_dev,
+                                  struct ethtool_ts_info *ts_info)
 {
        struct efx_nic *efx = netdev_priv(net_dev);