aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/ath/ath5k
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-09-24 21:45:03 +0100
committerMichael Brown <mcb30@ipxe.org>2020-09-25 14:17:07 +0100
commiteecb75ba4809bd5d3e6d63413a45c5fccbda2bc2 (patch)
treedcb9379c726dd4a02566c6866803fa45d7ee0649 /src/drivers/net/ath/ath5k
parent371af4eef2dfa1facf6645a5704d8a55ff45c965 (diff)
downloadipxe-eecb75ba4809bd5d3e6d63413a45c5fccbda2bc2.tar.gz
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/ath/ath5k')
-rw-r--r--src/drivers/net/ath/ath5k/ath5k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ath/ath5k/ath5k.c b/src/drivers/net/ath/ath5k/ath5k.c
index a500175a7..d8c47909d 100644
--- a/src/drivers/net/ath/ath5k/ath5k.c
+++ b/src/drivers/net/ath/ath5k/ath5k.c
@@ -280,7 +280,7 @@ static int ath5k_probe(struct pci_device *pdev)
*/
pci_write_config_byte(pdev, 0x41, 0);
- mem = ioremap(pdev->membase, 0x10000);
+ mem = pci_ioremap(pdev, pdev->membase, 0x10000);
if (!mem) {
DBG("ath5k: cannot remap PCI memory region\n");
ret = -EIO;