svn commit: r296023 - head/sys/dev/cy

Justin Hibbits jhibbits at FreeBSD.org
Thu Feb 25 04:32:18 UTC 2016


Author: jhibbits
Date: Thu Feb 25 04:32:17 2016
New Revision: 296023
URL: https://svnweb.freebsd.org/changeset/base/296023

Log:
  Fix the build.
  
  Pointy-hat to:	jhibbits
  Spotted by:	bde

Modified:
  head/sys/dev/cy/cy_pci.c

Modified: head/sys/dev/cy/cy_pci.c
==============================================================================
--- head/sys/dev/cy/cy_pci.c	Thu Feb 25 03:21:25 2016	(r296022)
+++ head/sys/dev/cy/cy_pci.c	Thu Feb 25 04:32:17 2016	(r296023)
@@ -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");


More information about the svn-src-head mailing list