提交 e5cd0404 编写于 作者: K Kumar Gala 提交者: Paul Mackerras

[PATCH] powerpc: Fix compile problem in pci.c for ppc32

pci_address_to_pio is missing a closing curly brace
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 f2c4583a
...@@ -1823,7 +1823,7 @@ unsigned long pci_address_to_pio(phys_addr_t address) ...@@ -1823,7 +1823,7 @@ unsigned long pci_address_to_pio(phys_addr_t address)
unsigned long base = unsigned long base =
(unsigned long)hose->io_base_virt - _IO_BASE; (unsigned long)hose->io_base_virt - _IO_BASE;
return base + (address - hose->io_base_phys); return base + (address - hose->io_base_phys);
}
} }
return (unsigned int)-1; return (unsigned int)-1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册