diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 03:50:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:07:14 -0400 |
commit | 38df7a39492d52f4fad484f611f01a01bd8f1e41 (patch) | |
tree | b0f698e0ff0b7027ac05c62c5f7eaae5eecf93d4 /drivers/net/e1000 | |
parent | 8d96286ae13a0bf4ec04341c9b25694adff38623 (diff) |
e1000: make e1000_reinit_safe local
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index a117f2a0252e..4686c3983fc3 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -521,7 +521,7 @@ void e1000_down(struct e1000_adapter *adapter) | |||
521 | e1000_clean_all_rx_rings(adapter); | 521 | e1000_clean_all_rx_rings(adapter); |
522 | } | 522 | } |
523 | 523 | ||
524 | void e1000_reinit_safe(struct e1000_adapter *adapter) | 524 | static void e1000_reinit_safe(struct e1000_adapter *adapter) |
525 | { | 525 | { |
526 | while (test_and_set_bit(__E1000_RESETTING, &adapter->flags)) | 526 | while (test_and_set_bit(__E1000_RESETTING, &adapter->flags)) |
527 | msleep(1); | 527 | msleep(1); |