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.
This commit is contained in:
John Baldwin 2012-03-03 14:25:36 +00:00
parent 180aa2f0fc
commit 37bf8b5f5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232465

View File

@ -350,9 +350,9 @@ pci_get_vpd_ident(device_t dev, const char **identptr)
}
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));
}
/*