mirror of
https://github.com/ipxe/ipxe
synced 2026-02-08 05:48:46 +03:00
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -933,7 +933,7 @@ static int ena_probe ( struct pci_device *pci ) {
|
||||
adjust_pci_device ( pci );
|
||||
|
||||
/* Map registers */
|
||||
ena->regs = ioremap ( pci->membase, ENA_BAR_SIZE );
|
||||
ena->regs = pci_ioremap ( pci, pci->membase, ENA_BAR_SIZE );
|
||||
if ( ! ena->regs ) {
|
||||
rc = -ENODEV;
|
||||
goto err_ioremap;
|
||||
|
||||
Reference in New Issue
Block a user