diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2010-07-28 06:23:44 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:04:23 -0400 |
commit | f4f5df23bf72208d0c2f1d8be629839924c2f4c2 (patch) | |
tree | 88c41a002e0f9f4470543209047d1111a51a0d06 /drivers/scsi/qla4xxx/ql4_nvram.c | |
parent | dbaf82ece08bf93ae5200f03efd87c4f1fc453f1 (diff) |
[SCSI] qla4xxx: Added support for ISP82XX
Signed-off-by: Vikas Chaudhary <Vikas Chaudhary@qlogic.com>
Signed-off-by: Karen Higgins <karen.higgins@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nvram.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nvram.c b/drivers/scsi/qla4xxx/ql4_nvram.c index 7fe0482ecf03..f0d0fbf88aa2 100644 --- a/drivers/scsi/qla4xxx/ql4_nvram.c +++ b/drivers/scsi/qla4xxx/ql4_nvram.c | |||
@@ -149,7 +149,7 @@ static int eeprom_readword(int eepromAddr, u16 * value, | |||
149 | /* Hardware_lock must be set before calling */ | 149 | /* Hardware_lock must be set before calling */ |
150 | u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) | 150 | u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) |
151 | { | 151 | { |
152 | u16 val; | 152 | u16 val = 0; |
153 | 153 | ||
154 | /* NOTE: NVRAM uses half-word addresses */ | 154 | /* NOTE: NVRAM uses half-word addresses */ |
155 | eeprom_readword(offset, &val, ha); | 155 | eeprom_readword(offset, &val, ha); |