svn commit: r232465 - head/sys/dev/pci
John Baldwin
jhb at FreeBSD.org
Sat Mar 3 14:25:37 UTC 2012
Author: jhb
Date: Sat Mar 3 14:25:36 2012
New Revision: 232465
URL: http://svn.freebsd.org/changeset/base/232465
Log:
Update the pci_get_vpd_readonly() wrapper to use 'vptr' instead of
'identptr' for its last parameter to match the default implementation
as well as the method definition in pci_if.m.
Modified:
head/sys/dev/pci/pcivar.h
Modified: head/sys/dev/pci/pcivar.h
==============================================================================
--- head/sys/dev/pci/pcivar.h Sat Mar 3 14:24:39 2012 (r232464)
+++ head/sys/dev/pci/pcivar.h Sat Mar 3 14:25:36 2012 (r232465)
@@ -350,9 +350,9 @@ pci_get_vpd_ident(device_t dev, const ch
}
static __inline int
-pci_get_vpd_readonly(device_t dev, const char *kw, const char **identptr)
+pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr)
{
- return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, identptr));
+ return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, vptr));
}
/*
More information about the svn-src-head
mailing list