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:
parent
b2cd3bb075
commit
aefa24a7f2
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user