Fix the build.

Pointy-hat to:	jhibbits
Spotted by:	bde
This commit is contained in:
Justin Hibbits 2016-02-25 04:32:17 +00:00
parent ea134429d0
commit a4965cf07b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296023

View File

@ -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");