diff options
Diffstat (limited to 'drivers/net/wireless/adm8211.h')
-rw-r--r-- | drivers/net/wireless/adm8211.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/adm8211.h b/drivers/net/wireless/adm8211.h index 5991b17c4a7b..ef326fed42e4 100644 --- a/drivers/net/wireless/adm8211.h +++ b/drivers/net/wireless/adm8211.h | |||
@@ -416,7 +416,7 @@ struct adm8211_desc { | |||
416 | #define TDES1_CONTROL_RBS1 (0x00000fff) | 416 | #define TDES1_CONTROL_RBS1 (0x00000fff) |
417 | 417 | ||
418 | /* SRAM offsets */ | 418 | /* SRAM offsets */ |
419 | #define ADM8211_SRAM(x) (priv->revid < ADM8211_REV_BA ? \ | 419 | #define ADM8211_SRAM(x) (priv->pdev->revision < ADM8211_REV_BA ? \ |
420 | ADM8211_SRAM_A_ ## x : ADM8211_SRAM_B_ ## x) | 420 | ADM8211_SRAM_A_ ## x : ADM8211_SRAM_B_ ## x) |
421 | 421 | ||
422 | #define ADM8211_SRAM_INDIV_KEY 0x0000 | 422 | #define ADM8211_SRAM_INDIV_KEY 0x0000 |
@@ -623,8 +623,6 @@ struct adm8211_priv { | |||
623 | struct adm8211_eeprom *eeprom; | 623 | struct adm8211_eeprom *eeprom; |
624 | size_t eeprom_len; | 624 | size_t eeprom_len; |
625 | 625 | ||
626 | u8 revid; | ||
627 | |||
628 | u32 nar; | 626 | u32 nar; |
629 | 627 | ||
630 | #define ADM8211_TYPE_INTERSIL 0x00 | 628 | #define ADM8211_TYPE_INTERSIL 0x00 |