Skip to content

Commit

Permalink
ath9k: Merge ath_hal and ath_hal_5416 structures
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sujith authored and John W. Linville committed Feb 13, 2009
1 parent ba52da5 commit cbe61d8
Show file tree
Hide file tree
Showing 22 changed files with 956 additions and 1,109 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath9k/ahb.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void ath_ahb_cleanup(struct ath_softc *sc)
iounmap(sc->mem);
}

static bool ath_ahb_eeprom_read(struct ath_hal *ah, u32 off, u16 *data)
static bool ath_ahb_eeprom_read(struct ath_hw *ah, u32 off, u16 *data)
{
struct ath_softc *sc = ah->ah_sc;
struct platform_device *pdev = to_platform_device(sc->dev);
Expand Down Expand Up @@ -65,7 +65,7 @@ static int ath_ahb_probe(struct platform_device *pdev)
struct resource *res;
int irq;
int ret = 0;
struct ath_hal *ah;
struct ath_hw *ah;

if (!pdev->dev.platform_data) {
dev_err(&pdev->dev, "no platform data specified\n");
Expand Down
Loading

0 comments on commit cbe61d8

Please sign in to comment.