mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -673,7 +673,7 @@ static int b44_probe(struct pci_device *pci)
|
||||
bp->pci = pci;
|
||||
|
||||
/* Map device registers */
|
||||
bp->regs = ioremap(pci->membase, B44_REGS_SIZE);
|
||||
bp->regs = pci_ioremap(pci, pci->membase, B44_REGS_SIZE);
|
||||
if (!bp->regs) {
|
||||
netdev_put(netdev);
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user