summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-05-25 19:11:39 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-05-25 19:11:39 +0000
commitf2b12b1b9002db84ce47df6af70a75fd47b078c3 (patch)
tree991a1ed9efc66a7ddeffe0f7993c928a4657bea3
parent0fdba6946d7f885f32b6bc5950e8baf526a2d839 (diff)
Fix stupid compile error.
-rw-r--r--arch/mips64/sgi-ip27/ip27-pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-pci.c b/arch/mips64/sgi-ip27/ip27-pci.c
index 88150be4b..35dbc78b9 100644
--- a/arch/mips64/sgi-ip27/ip27-pci.c
+++ b/arch/mips64/sgi-ip27/ip27-pci.c
@@ -280,7 +280,7 @@ pci_disable_swapping(struct pci_dev *dev)
int slot = PCI_SLOT(dev->devfn);
/* Turn off byte swapping */
- bridge->b_device[slot].reg; devreg &= ~BRIDGE_DEV_SWAP_DIR;
+ bridge->b_device[slot].reg &= ~BRIDGE_DEV_SWAP_DIR;
bridge->b_widget.w_tflush; /* Flush */
}
@@ -293,7 +293,7 @@ pci_enable_swapping(struct pci_dev *dev)
int slot = PCI_SLOT(dev->devfn);
/* Turn on byte swapping */
- bridge->b_device[slot].reg; devreg |= BRIDGE_DEV_SWAP_DIR;
+ bridge->b_device[slot].reg |= BRIDGE_DEV_SWAP_DIR;
bridge->b_widget.w_tflush; /* Flush */
}