aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
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
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')
-rw-r--r--drivers/net/ixgbe/ixgbe_82599.c2
-rw-r--r--drivers/net/ixgbe/ixgbe_dcb_82598.c2
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c4
-rw-r--r--drivers/net/ixgbe/ixgbe_sriov.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c
index d521baf1acd..d1cda36507f 100644
--- a/drivers/net/ixgbe/ixgbe_82599.c
+++ b/drivers/net/ixgbe/ixgbe_82599.c
@@ -494,7 +494,7 @@ static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw)
494 * 494 *
495 * Set the link speed in the AUTOC register and restarts link. 495 * Set the link speed in the AUTOC register and restarts link.
496 **/ 496 **/
497s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, 497static s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw,
498 ixgbe_link_speed speed, 498 ixgbe_link_speed speed,
499 bool autoneg, 499 bool autoneg,
500 bool autoneg_wait_to_complete) 500 bool autoneg_wait_to_complete)
diff --git a/drivers/net/ixgbe/ixgbe_dcb_82598.c b/drivers/net/ixgbe/ixgbe_dcb_82598.c
index 1bc57e52cee..771d01a60d0 100644
--- a/drivers/net/ixgbe/ixgbe_dcb_82598.c
+++ b/drivers/net/ixgbe/ixgbe_dcb_82598.c
@@ -289,7 +289,7 @@ s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en)
289 * Configure queue statistics registers, all queues belonging to same traffic 289 * Configure queue statistics registers, all queues belonging to same traffic
290 * class uses a single set of queue statistics counters. 290 * class uses a single set of queue statistics counters.
291 */ 291 */
292s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) 292static s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw)
293{ 293{
294 u32 reg = 0; 294 u32 reg = 0;
295 u8 i = 0; 295 u8 i = 0;
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index dbe29e57280..227a9b4c702 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;
diff --git a/drivers/net/ixgbe/ixgbe_sriov.c b/drivers/net/ixgbe/ixgbe_sriov.c
index 6e50d832894..47650278d41 100644
--- a/drivers/net/ixgbe/ixgbe_sriov.c
+++ b/drivers/net/ixgbe/ixgbe_sriov.c
@@ -110,7 +110,7 @@ static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid,
110 return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add); 110 return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add);
111} 111}
112 112
113void ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf) 113static void ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf)
114{ 114{
115 struct ixgbe_hw *hw = &adapter->hw; 115 struct ixgbe_hw *hw = &adapter->hw;
116 int new_mtu = msgbuf[1]; 116 int new_mtu = msgbuf[1];