[MIPS] IP32: Fix fatal typo in address computation.
authorGiuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
Sat, 6 Oct 2007 17:55:03 +0000 (19:55 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Oct 2007 11:47:48 +0000 (12:47 +0100)
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/ops-mace.c

index 2025f1f..fe54514 100644 (file)
@@ -33,7 +33,7 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
        unsigned int reg)
 {
        return ((bus->number & 0xff) << 16) |
-               (devfn & 0xff) << 8) |
+               ((devfn & 0xff) << 8) |
                (reg & 0xfc);
 }