[MIPS] IP32: Fix fatal typo in address computation.
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>hifive-unleashed-5.1
parent
e2a57a8159
commit
378a545954
|
@ -33,7 +33,7 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
|
||||||
unsigned int reg)
|
unsigned int reg)
|
||||||
{
|
{
|
||||||
return ((bus->number & 0xff) << 16) |
|
return ((bus->number & 0xff) << 16) |
|
||||||
(devfn & 0xff) << 8) |
|
((devfn & 0xff) << 8) |
|
||||||
(reg & 0xfc);
|
(reg & 0xfc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue