Commit f6370117 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a243f848
...@@ -1226,7 +1226,7 @@ static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) ...@@ -1226,7 +1226,7 @@ static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw)
* Checks for link up on the hardware. If link is not up and we have * Checks for link up on the hardware. If link is not up and we have
* a signal, then we need to force link up. * a signal, then we need to force link up.
**/ **/
s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw)
{ {
struct e1000_mac_info *mac = &hw->mac; struct e1000_mac_info *mac = &hw->mac;
u32 rxcw; u32 rxcw;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment