1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ar71xx: fix a typo in the ar724x PCI code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17806 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-10-01 19:40:51 +00:00
parent ac209c67b4
commit b737d591cf

View File

@@ -75,7 +75,7 @@ static void ar724x_pci_write(void __iomem *base, int where, int size, u32 value)
data |= ((value & 0xFF) << s); data |= ((value & 0xFF) << s);
break; break;
case 2: case 2:
s = ((where & 2) << 4); s = ((where & 2) << 3);
data &= ~(0xFFFF << s); data &= ~(0xFFFF << s);
data |= ((value & 0xFFFF) << s); data |= ((value & 0xFFFF) << s);
break; break;