|
@@ -1846,7 +1846,7 @@ static int e1000_set_wol(struct net_device *netdev,
|
|
|
/* bit defines for adapter->led_status */
|
|
|
#define E1000_LED_ON 0
|
|
|
|
|
|
-static void e1000e_led_blink_task(struct work_struct *work)
|
|
|
+void e1000e_led_blink_task(struct work_struct *work)
|
|
|
{
|
|
|
struct e1000_adapter *adapter = container_of(work,
|
|
|
struct e1000_adapter, led_blink_task);
|
|
@@ -1878,7 +1878,6 @@ static int e1000_phys_id(struct net_device *netdev, u32 data)
|
|
|
(hw->mac.type == e1000_pch2lan) ||
|
|
|
(hw->mac.type == e1000_82583) ||
|
|
|
(hw->mac.type == e1000_82574)) {
|
|
|
- INIT_WORK(&adapter->led_blink_task, e1000e_led_blink_task);
|
|
|
if (!adapter->blink_timer.function) {
|
|
|
init_timer(&adapter->blink_timer);
|
|
|
adapter->blink_timer.function =
|