Skip to content
Snippets Groups Projects
Commit 378a5459 authored by Giuseppe Sacco's avatar Giuseppe Sacco Committed by Ralf Baechle
Browse files

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

parent e2a57a81
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment