Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e307fcf0 authored by Marek Lindner's avatar Marek Lindner Committed by John W. Linville
Browse files

ath9k: adjust ahb callbacks to new struct layout to avoid compile errors

parent 6d898b19
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -29,15 +29,13 @@ static void ath_ahb_read_cachesize(struct ath_common *common, int *csz)

static void ath_ahb_cleanup(struct ath_common *common)
{
	struct ath_hw *ah = (struct ath_hw *) common->ah;
	struct ath_softc *sc = ah->ah_sc;
	struct ath_softc *sc = (struct ath_softc *)common->priv;
	iounmap(sc->mem);
}

static bool ath_ahb_eeprom_read(struct ath_common *common, u32 off, u16 *data)
{
	struct ath_hw *ah = (struct ath_hw *) common->ah;
	struct ath_softc *sc = ah->ah_sc;
	struct ath_softc *sc = (struct ath_softc *)common->priv;
	struct platform_device *pdev = to_platform_device(sc->dev);
	struct ath9k_platform_data *pdata;