ixgbe: Check for setup_internal_link method
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 9 Sep 2015 20:37:33 +0000 (13:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 09:27:25 +0000 (02:27 -0700)
commita85ce532f28efabda030d9065a0c2023a2003f36
tree525e033f90095f8a6f3b56927a3ddd2090e73844
parent164f739361c962ac63aa6f7cbd48309d1bff15fb
ixgbe: Check for setup_internal_link method

Only call the internal_setup_link method when it is provided. This
check is required for newer version parts.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c