diff options
author | jhb <jhb@FreeBSD.org> | 2012-03-03 14:25:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-03-03 14:25:36 +0000 |
commit | aefa24a7f2eda27e3b43ae0908fa6072d48aba17 (patch) | |
tree | 420dc8a8e65b4712ca1ac801cb9b3bb11c174d7d /sys/dev/pci | |
parent | b2cd3bb07589f6819bcc584d29775a97b8bf9628 (diff) | |
download | FreeBSD-src-aefa24a7f2eda27e3b43ae0908fa6072d48aba17.zip FreeBSD-src-aefa24a7f2eda27e3b43ae0908fa6072d48aba17.tar.gz |
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.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pcivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 87abeba..fe00cfe 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -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)); } /* |