mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] ipw2200: fix ->eeprom[EEPROM_VERSION] check
priv->eeprom is a pointer. Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Yi Zhu <[email protected]> Cc: James Ketrenos <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ce5f8d70ba
commit
386093ef9a
1 changed files with 1 additions and 1 deletions
|
|
@ -2456,7 +2456,7 @@ static void ipw_eeprom_init_sram(struct ipw_priv *priv)
|
|||
copy. Otherwise let the firmware know to perform the operation
|
||||
on it's own
|
||||
*/
|
||||
if ((priv->eeprom + EEPROM_VERSION) != 0) {
|
||||
if (priv->eeprom[EEPROM_VERSION] != 0) {
|
||||
IPW_DEBUG_INFO("Writing EEPROM data into SRAM\n");
|
||||
|
||||
/* write the eeprom data to sram */
|
||||
|
|
|
|||
Loading…
Reference in a new issue