ixgbe: fix missing function pointer conversion
authorDon Skidmore <donald.c.skidmore@intel.com>
Sun, 6 Mar 2011 02:59:20 +0000 (18:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 8 Mar 2011 01:59:53 +0000 (17:59 -0800)
In the previous commit:
  commit 5e655105e3e19d746f9e95c514b014c11c3d1b6a
  Author: Don Skidmore <donald.c.skidmore@intel.com>
  Date:   Fri Feb 25 01:58:04 2011 +0000

  ixgbe: add function pointer for semaphore function

there was one release of the semaphore function call which
did not get converted to a function pointer.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_common.c

index a7fb2e00f766672cd44d3e8277a5150df2233bc6..94a56217027cf555a18e6294f0376fa84e73e0fc 100644 (file)
@@ -1075,7 +1075,7 @@ static void ixgbe_release_eeprom(struct ixgbe_hw *hw)
        eec &= ~IXGBE_EEC_REQ;
        IXGBE_WRITE_REG(hw, IXGBE_EEC, eec);
 
-       ixgbe_release_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
+       hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
 
        /* Delay before attempt to obtain semaphore again to allow FW access */
        msleep(hw->eeprom.semaphore_delay);