of/pci: move of_irq_map_pci() into generic code

There is a tiny difference between PPC32 and PPC64. Microblaze uses the
PPC32 variant.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
[grant.likely@secretlab.ca: Added comment to #endif, moved documentation
	block to function implementation, fixed for non ppc and microblaze
	compiles]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
这个提交包含在:
Sebastian Andrzej Siewior
2011-01-24 09:58:55 +05:30
提交者 Grant Likely
父节点 c64eae9a73
当前提交 04bea68b2f
修改 12 个文件,包含 131 行新增191 行删除

查看文件

@@ -69,4 +69,10 @@ config OF_MDIO
help
OpenFirmware MDIO bus (Ethernet PHY) accessors
config OF_PCI
def_tristate PCI
depends on PCI && (PPC || MICROBLAZE)
help
OpenFirmware PCI bus accessors
endmenu # OF