Commit 378a5459 authored by Giuseppe Sacco's avatar Giuseppe Sacco Committed by Ralf Baechle

[MIPS] IP32: Fix fatal typo in address computation.

Signed-off-by: default avatarGiuseppe Sacco <eppesuig@debian.org>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e2a57a81
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment