提交 378a5459 编写于 作者: G Giuseppe Sacco 提交者: Ralf Baechle

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

Signed-off-by: NGiuseppe Sacco <eppesuig@debian.org>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e2a57a81
...@@ -33,7 +33,7 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn, ...@@ -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);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册