summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2016-02-17 15:55:06 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-03-29 22:57:32 -0700
commit6e2a60b57a83ea134c06c5226aaff20e7e9ce221 (patch)
treef3261c0d84c614e1f32728c59df5937c80eb6311
parent32ca68683532ab629d16cede1102b36ae5346f40 (diff)
downloadop-kernel-dev-6e2a60b57a83ea134c06c5226aaff20e7e9ce221.zip
op-kernel-dev-6e2a60b57a83ea134c06c5226aaff20e7e9ce221.tar.gz
ixgbe: make __ixgbe_setup_tc static
This function is only used in ixgbe_main.c Resolves a "missing prototype" warning when building the driver with W=1 Reported-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 267a507..f5736a3 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -8376,8 +8376,8 @@ err_out:
return -EINVAL;
}
-int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
- struct tc_to_netdev *tc)
+static int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
+ struct tc_to_netdev *tc)
{
struct ixgbe_adapter *adapter = netdev_priv(dev);
OpenPOWER on IntegriCloud