aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_common.c
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2009-08-25 00:47:32 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-26 18:36:46 -0400
commit7b25cdbafd757b1255725d4ffb5b1081714b4256 (patch)
treee2432ce1cb106e3a9c80722530b4a4f883cdd0ef /drivers/net/ixgbe/ixgbe_common.c
parent46a72b35144769d1e9c23c3a9a26c1776ef7d8f6 (diff)
ixgbe: cleanup functions that should have been defined static
We have some ~40 functions that were being called out with 'make namespacecheck'. This patch changes these functions to be static. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c
index 96a185953777..6621e172df3d 100644
--- a/drivers/net/ixgbe/ixgbe_common.c
+++ b/drivers/net/ixgbe/ixgbe_common.c
@@ -53,6 +53,7 @@ static void ixgbe_enable_rar(struct ixgbe_hw *hw, u32 index);
53static void ixgbe_disable_rar(struct ixgbe_hw *hw, u32 index); 53static void ixgbe_disable_rar(struct ixgbe_hw *hw, u32 index);
54static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr); 54static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr);
55static void ixgbe_add_uc_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq); 55static void ixgbe_add_uc_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq);
56static s32 ixgbe_setup_fc(struct ixgbe_hw *hw, s32 packetbuf_num);
56 57
57/** 58/**
58 * ixgbe_start_hw_generic - Prepare hardware for Tx/Rx 59 * ixgbe_start_hw_generic - Prepare hardware for Tx/Rx
@@ -1815,7 +1816,7 @@ out:
1815 * 1816 *
1816 * Called at init time to set up flow control. 1817 * Called at init time to set up flow control.
1817 **/ 1818 **/
1818s32 ixgbe_setup_fc(struct ixgbe_hw *hw, s32 packetbuf_num) 1819static s32 ixgbe_setup_fc(struct ixgbe_hw *hw, s32 packetbuf_num)
1819{ 1820{
1820 s32 ret_val = 0; 1821 s32 ret_val = 0;
1821 u32 reg; 1822 u32 reg;