summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2020-03-15 12:42:51 +1100
committerDamien Zammit <damien@zamaudio.com>2020-08-27 18:01:56 +1000
commit6c0eebdf3a72d372de9aa1226ce889bdf56440b0 (patch)
treeef494a0dc1552d044b7506854bd3cd15c19dbebb
parent1a7dab7b7c36b73d2a2d7e8b5c288c71542de11e (diff)
hurd_pci: Use __pci_conf_ variants of pci_conf_
-rw-r--r--src/hurd_pci.c4
1 files 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;