diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:05 -0500 |
commit | cbe61d8a41210600bc76b212edcd4dc0f55c014f (patch) | |
tree | d8bd8e43d3556c58d410f1bef0d2ca3bf7d75c92 /drivers/net/wireless/ath9k/pci.c | |
parent | ba52da58be0acf3b7775972b2b5234ce64388c79 (diff) |
ath9k: Merge ath_hal and ath_hal_5416 structures
Finally, merge these structures and have a single
HW specific data structure.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/pci.c')
-rw-r--r-- | drivers/net/wireless/ath9k/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/pci.c b/drivers/net/wireless/ath9k/pci.c index 192c8c4e59fc..eac8db742602 100644 --- a/drivers/net/wireless/ath9k/pci.c +++ b/drivers/net/wireless/ath9k/pci.c | |||
@@ -56,7 +56,7 @@ static void ath_pci_cleanup(struct ath_softc *sc) | |||
56 | pci_disable_device(pdev); | 56 | pci_disable_device(pdev); |
57 | } | 57 | } |
58 | 58 | ||
59 | static bool ath_pci_eeprom_read(struct ath_hal *ah, u32 off, u16 *data) | 59 | static bool ath_pci_eeprom_read(struct ath_hw *ah, u32 off, u16 *data) |
60 | { | 60 | { |
61 | (void)REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S)); | 61 | (void)REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S)); |
62 | 62 | ||
@@ -87,7 +87,7 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
87 | u8 csz; | 87 | u8 csz; |
88 | u32 val; | 88 | u32 val; |
89 | int ret = 0; | 89 | int ret = 0; |
90 | struct ath_hal *ah; | 90 | struct ath_hw *ah; |
91 | 91 | ||
92 | if (pci_enable_device(pdev)) | 92 | if (pci_enable_device(pdev)) |
93 | return -EIO; | 93 | return -EIO; |