aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/ops-bonito64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/ops-bonito64.c')
-rw-r--r--arch/mips/pci/ops-bonito64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/ops-bonito64.c b/arch/mips/pci/ops-bonito64.c
index 1b3e03f20c54..830352e3aeda 100644
--- a/arch/mips/pci/ops-bonito64.c
+++ b/arch/mips/pci/ops-bonito64.c
@@ -26,7 +26,7 @@
26 26
27#include <asm/mips-boards/bonito64.h> 27#include <asm/mips-boards/bonito64.h>
28 28
29#define PCI_ACCESS_READ 0 29#define PCI_ACCESS_READ 0
30#define PCI_ACCESS_WRITE 1 30#define PCI_ACCESS_WRITE 1
31 31
32#define CFG_SPACE_REG(offset) (void *)CKSEG1ADDR(_pcictrl_bonito_pcicfg + (offset)) 32#define CFG_SPACE_REG(offset) (void *)CKSEG1ADDR(_pcictrl_bonito_pcicfg + (offset))
@@ -137,7 +137,7 @@ static int bonito64_pcibios_write(struct pci_bus *bus, unsigned int devfn,
137 data = val; 137 data = val;
138 else { 138 else {
139 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, 139 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn,
140 where, &data)) 140 where, &data))
141 return -1; 141 return -1;
142 142
143 if (size == 1) 143 if (size == 1)