diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 11:06:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 11:06:59 -0800 |
commit | ab1ebc953081d4e50f8e6d2d8d89b2cde3184e78 (patch) | |
tree | e25d01c62a4c7f3de78675faa6728b54848304e2 /drivers/net/wireless/ath/ath9k/ahb.c | |
parent | 70d279a7e2a6e308530822ba2bf4134cc0f5c091 (diff) | |
parent | 409ec36c320d580a036045e603f96286c362c609 (diff) | |
download | talos-obmc-linux-ab1ebc953081d4e50f8e6d2d8d89b2cde3184e78.tar.gz talos-obmc-linux-ab1ebc953081d4e50f8e6d2d8d89b2cde3184e78.zip |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ahb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ahb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c index 993672105963..9cb0efa9b4c0 100644 --- a/drivers/net/wireless/ath/ath9k/ahb.c +++ b/drivers/net/wireless/ath/ath9k/ahb.c @@ -75,7 +75,7 @@ static int ath_ahb_probe(struct platform_device *pdev) goto err_out; } - mem = ioremap_nocache(res->start, res->end - res->start + 1); + mem = ioremap_nocache(res->start, resource_size(res)); if (mem == NULL) { dev_err(&pdev->dev, "ioremap failed\n"); ret = -ENOMEM; |