diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-04-13 00:56:15 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-04 15:13:59 -0400 |
commit | 6d980c3e50189e5437fdb5ef2c6e6d3c282035dc (patch) | |
tree | 20c1195b8f495a8f0f93f7b3041288dc3aa88521 /drivers/net/ixgbe/ixgbe_x540.c | |
parent | 97322b3303a1de979b973dc1d0a43091f27258ac (diff) |
ixgbe: Use function pointer for ixgbe_acquire/release_swfw_sync()
Change remaining direct calls to function pointers.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_x540.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_x540.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_x540.c b/drivers/net/ixgbe/ixgbe_x540.c index 75c6465db893..179ee8226d04 100644 --- a/drivers/net/ixgbe/ixgbe_x540.c +++ b/drivers/net/ixgbe/ixgbe_x540.c | |||
@@ -318,7 +318,7 @@ static s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) | |||
318 | else | 318 | else |
319 | status = IXGBE_ERR_SWFW_SYNC; | 319 | status = IXGBE_ERR_SWFW_SYNC; |
320 | 320 | ||
321 | ixgbe_release_swfw_sync_X540(hw, IXGBE_GSSR_EEP_SM); | 321 | hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); |
322 | return status; | 322 | return status; |
323 | } | 323 | } |
324 | 324 | ||