aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJonathan Bither <jonbither@gmail.com>2012-04-24 05:20:15 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-27 15:24:07 -0400
commit3708dc248946daba8802c8f31a68dca81ffc445f (patch)
tree3626d2e0f24473033bae242d662ab2a63aa67c31 /drivers/net/wireless
parentb948a85c1f26d48395de8c6c7e392f008f1be666 (diff)
downloadkernel_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.c1
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);