aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-01 19:40:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-01 19:40:51 +0000
commit2e09669095067d1543c0deb56096a0eeb0f17b06 (patch)
tree23c2bf60f0bd5b95cdf93cc9675b7b2b31e4f89e /target/linux
parentef368dfc0573e03b9e58c806c1668d6762f4f799 (diff)
downloadupstream-2e09669095067d1543c0deb56096a0eeb0f17b06.tar.gz
upstream-2e09669095067d1543c0deb56096a0eeb0f17b06.tar.bz2
upstream-2e09669095067d1543c0deb56096a0eeb0f17b06.zip
ar71xx: fix a typo in the ar724x PCI code
SVN-Revision: 17806
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
index 0f9bd2f226..02f3a8cc4c 100644
--- a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
+++ b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
@@ -75,7 +75,7 @@ static void ar724x_pci_write(void __iomem *base, int where, int size, u32 value)
data |= ((value & 0xFF) << s);
break;
case 2:
- s = ((where & 2) << 4);
+ s = ((where & 2) << 3);
data &= ~(0xFFFF << s);
data |= ((value & 0xFFFF) << s);
break;