]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 2025f1f3e9f5958bdaec0e45fad1780fb38bab50..fe54514493044d8a9c70d9686518617531838d23 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);
 }