summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/pci/pci_cfgreg.c2
-rw-r--r--sys/i386/pci/pci_cfgreg.c2
-rw-r--r--sys/i386/pci/pci_pir.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index d660dab..408db87 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/pci/pci_cfgreg.c
@@ -118,7 +118,7 @@ pci_cfgregopen(void)
/*
* Read configuration space register
*/
-u_int32_t
+static u_int32_t
pci_do_cfgregread(int bus, int slot, int func, int reg, int bytes)
{
return(usebios ?
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index d660dab..408db87 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -118,7 +118,7 @@ pci_cfgregopen(void)
/*
* Read configuration space register
*/
-u_int32_t
+static u_int32_t
pci_do_cfgregread(int bus, int slot, int func, int reg, int bytes)
{
return(usebios ?
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index d660dab..408db87 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -118,7 +118,7 @@ pci_cfgregopen(void)
/*
* Read configuration space register
*/
-u_int32_t
+static u_int32_t
pci_do_cfgregread(int bus, int slot, int func, int reg, int bytes)
{
return(usebios ?
OpenPOWER on IntegriCloud