From b827c647d01418f4449d29e490dd835697fcefbd Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 1 Oct 2009 19:40:51 +0000 Subject: [PATCH] ar71xx: fix a typo in the ar724x PCI code SVN-Revision: 17806 --- target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2