of/pci: move of_irq_map_pci() into generic code
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Mon, 24 Jan 2011 04:28:55 +0000 (09:58 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 4 Feb 2011 18:46:50 +0000 (11:46 -0700)
commit04bea68b2f0eeebb089ecc67b618795925268b4a
tree80380294ee7e073fe312af590475dc4756826094
parentc64eae9a73a847c1698f913c893aa4012d2a30b0
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>
12 files changed:
arch/microblaze/include/asm/pci-bridge.h
arch/microblaze/include/asm/prom.h
arch/microblaze/kernel/prom_parse.c
arch/microblaze/pci/pci-common.c
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/prom_parse.c
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/of_pci.c [new file with mode: 0644]
include/linux/of_pci.h [new file with mode: 0644]