mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Fix the build.
Pointy-hat to: jhibbits Spotted by: bde
This commit is contained in:
parent
ea134429d0
commit
a4965cf07b
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ cy_pci_attach(dev)
|
|||
mem_res = NULL;
|
||||
|
||||
ioport_rid = CY_PCI_BASE_ADDR1;
|
||||
ioport_res = bus_alloc_resource_(dev, SYS_RES_IOPORT, &ioport_rid,
|
||||
ioport_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &ioport_rid,
|
||||
RF_ACTIVE);
|
||||
if (ioport_res == NULL) {
|
||||
device_printf(dev, "ioport resource allocation failed\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue