aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/direct.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/pci/direct.c')
-rw-r--r--arch/x86/pci/direct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/pci/direct.c b/arch/x86/pci/direct.c
index 431c9a51b157..42f3e4cad179 100644
--- a/arch/x86/pci/direct.c
+++ b/arch/x86/pci/direct.c
@@ -14,7 +14,7 @@
14#define PCI_CONF1_ADDRESS(bus, devfn, reg) \ 14#define PCI_CONF1_ADDRESS(bus, devfn, reg) \
15 (0x80000000 | (bus << 16) | (devfn << 8) | (reg & ~3)) 15 (0x80000000 | (bus << 16) | (devfn << 8) | (reg & ~3))
16 16
17int pci_conf1_read(unsigned int seg, unsigned int bus, 17static int pci_conf1_read(unsigned int seg, unsigned int bus,
18 unsigned int devfn, int reg, int len, u32 *value) 18 unsigned int devfn, int reg, int len, u32 *value)
19{ 19{
20 unsigned long flags; 20 unsigned long flags;
@@ -45,7 +45,7 @@ int pci_conf1_read(unsigned int seg, unsigned int bus,
45 return 0; 45 return 0;
46} 46}
47 47
48int pci_conf1_write(unsigned int seg, unsigned int bus, 48static int pci_conf1_write(unsigned int seg, unsigned int bus,
49 unsigned int devfn, int reg, int len, u32 value) 49 unsigned int devfn, int reg, int len, u32 value)
50{ 50{
51 unsigned long flags; 51 unsigned long flags;