diff options
author | Jonathan Bither <jonbither@gmail.com> | 2012-04-24 11:20:15 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-27 21:24:07 +0200 |
commit | 3708dc248946daba8802c8f31a68dca81ffc445f (patch) | |
tree | 3626d2e0f24473033bae242d662ab2a63aa67c31 /drivers/net | |
parent | brcm80211: fmac: fix missing completion events issue (diff) | |
download | linux-3708dc248946daba8802c8f31a68dca81ffc445f.tar.xz linux-3708dc248946daba8802c8f31a68dca81ffc445f.zip |
ath5k: add missing iounmap to AHB probe removal
When our driver device is removed on the AHB bus, our IO memory is never unmapped.
Signed-off-by: Jonathan Bither <jonbither@gmail.com>
Reviewed-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ahb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index 8c50d9d19d78..aec33cc207fd 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c @@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev) } ath5k_deinit_ah(ah); + iounmap(ah->iobase); platform_set_drvdata(pdev, NULL); ieee80211_free_hw(hw); |