aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2011-04-11 22:44:55 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-04-27 05:16:48 -0400
commitb32c8dcc33a74fb4f1e73ed2263504f5947ca76b (patch)
tree8b2697a3ac2e855225a437d9491b1dd9541d6a7a /drivers/net/ixgbe/ixgbe_main.c
parent11b1d38e705fa05282661d2b1710f7a81a7f7045 (diff)
ixgbe: fix static functions
Define functions as static added C=1 (sparse) to my make line brought these to my attention. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index dbe29e57280f..227a9b4c7028 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -4566,8 +4566,8 @@ static inline bool ixgbe_cache_ring_rss(struct ixgbe_adapter *adapter)
4566#ifdef CONFIG_IXGBE_DCB 4566#ifdef CONFIG_IXGBE_DCB
4567 4567
4568/* ixgbe_get_first_reg_idx - Return first register index associated with ring */ 4568/* ixgbe_get_first_reg_idx - Return first register index associated with ring */
4569void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, 4569static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc,
4570 unsigned int *tx, unsigned int *rx) 4570 unsigned int *tx, unsigned int *rx)
4571{ 4571{
4572 struct net_device *dev = adapter->netdev; 4572 struct net_device *dev = adapter->netdev;
4573 struct ixgbe_hw *hw = &adapter->hw; 4573 struct ixgbe_hw *hw = &adapter->hw;