diff options
author | Jonathan Bither <jonbither@gmail.com> | 2012-04-24 05:20:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-27 15:24:07 -0400 |
commit | 3708dc248946daba8802c8f31a68dca81ffc445f (patch) | |
tree | 3626d2e0f24473033bae242d662ab2a63aa67c31 /drivers/net/wireless | |
parent | b948a85c1f26d48395de8c6c7e392f008f1be666 (diff) | |
download | kernel_goldelico_gta04-3708dc248946daba8802c8f31a68dca81ffc445f.zip kernel_goldelico_gta04-3708dc248946daba8802c8f31a68dca81ffc445f.tar.gz kernel_goldelico_gta04-3708dc248946daba8802c8f31a68dca81ffc445f.tar.bz2 |
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/wireless')
-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 8c50d9d..aec33cc 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); |