/* e1000_read_eeprom - Reads a 16 bit word from the EEPROM. @hw: Struct containing variables accessed by shared code @offset: offset of word in the EEPROM to read @data: word read from the EEPROM @words: number of words to read  */
s32 e1000_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
/* e1000_read_eeprom - Reads a 16 bit word from the EEPROM. @hw: Struct containing variables accessed by shared code @offset: offset of word in the EEPROM to read @data: word read from the EEPROM @words: number of words to read  */
s32 e1000_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
{
	s32 ret;
	spin_lock(&e1000_eeprom_lock);
	ret = e1000_do_read_eeprom(hw, offset, words, data);
	spin_unlock(&e1000_eeprom_lock);
	return ret;
}