Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

e1000e: call er16flash() instead of __er16flash()

__er16flash() is not meant to be called directly.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Bruce Allan and committed by
Jeff Kirsher
c8243ee0 058e8edd

+1 -1
+1 -1
drivers/net/ethernet/intel/e1000e/ich8lan.c
··· 2279 2279 * cycle has a chance to end before giving up. 2280 2280 */ 2281 2281 for (i = 0; i < ICH_FLASH_READ_COMMAND_TIMEOUT; i++) { 2282 - hsfsts.regval = __er16flash(hw, ICH_FLASH_HSFSTS); 2282 + hsfsts.regval = er16flash(ICH_FLASH_HSFSTS); 2283 2283 if (hsfsts.hsf_status.flcinprog == 0) { 2284 2284 ret_val = 0; 2285 2285 break;