diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:32:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:26:10 -0500 |
commit | f6370117958d67608225d5e3b55e3ad2080640e8 (patch) | |
tree | 25d257475ab857ac7abe13438b852a228dc1d39f /drivers/net/e1000e/82571.c | |
parent | a243f848ce0e16f7919d683fdfd4c8ea378fe25d (diff) |
drivers/net/e1000e: fix sparse warning: Should it be static?
Impact: Make symbol static.
Fix this sparse warning:
drivers/net/e1000e/82571.c:1229:5: warning: symbol 'e1000_check_for_serdes_link_82571' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r-- | drivers/net/e1000e/82571.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index 565fd4e8f951..51f8e84bd4a3 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -1226,7 +1226,7 @@ static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) | |||
1226 | * Checks for link up on the hardware. If link is not up and we have | 1226 | * Checks for link up on the hardware. If link is not up and we have |
1227 | * a signal, then we need to force link up. | 1227 | * a signal, then we need to force link up. |
1228 | **/ | 1228 | **/ |
1229 | s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) | 1229 | static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) |
1230 | { | 1230 | { |
1231 | struct e1000_mac_info *mac = &hw->mac; | 1231 | struct e1000_mac_info *mac = &hw->mac; |
1232 | u32 rxcw; | 1232 | u32 rxcw; |