From 6c0eebdf3a72d372de9aa1226ce889bdf56440b0 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sun, 15 Mar 2020 12:42:51 +1100 Subject: hurd_pci: Use __pci_conf_ variants of pci_conf_ --- src/hurd_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hurd_pci.c b/src/hurd_pci.c index 26505f3..ada7af8 100644 --- a/src/hurd_pci.c +++ b/src/hurd_pci.c @@ -162,7 +162,7 @@ pciclient_cfg_read(mach_port_t device_port, int reg, char *buf, data = buf; nread = *nbytes; - err = pci_conf_read(device_port, reg, &data, &nread, *nbytes); + err = __pci_conf_read(device_port, reg, &data, &nread, *nbytes); if (err) return err; @@ -189,7 +189,7 @@ pciclient_cfg_write(mach_port_t device_port, int reg, char *buf, int err; size_t nwrote; - err = pci_conf_write(device_port, reg, buf, *nbytes, &nwrote); + err = __pci_conf_write(device_port, reg, buf, *nbytes, &nwrote); if (!err) *nbytes = nwrote; -- cgit v1.2.3