mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix the build.
Pointy-hat to: jhibbits Spotted by: bde
This commit is contained in:
parent
ea134429d0
commit
a4965cf07b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296023
@ -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 New Issue
Block a user