summaryrefslogtreecommitdiffstats
path: root/arch/mips64/sgi-ip27
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64/sgi-ip27')
-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 */
}