diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2011-01-24 05:28:55 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-04 19:46:50 +0100 |
commit | 04bea68b2f0eeebb089ecc67b618795925268b4a (patch) | |
tree | 80380294ee7e073fe312af590475dc4756826094 /arch/powerpc/kernel/pci-common.c | |
parent | Merge commit 'v2.6.38-rc3' into devicetree/next (diff) | |
download | linux-04bea68b2f0eeebb089ecc67b618795925268b4a.tar.xz linux-04bea68b2f0eeebb089ecc67b618795925268b4a.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 10a44e68ef11..eb341be9a4d9 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -22,6 +22,7 @@ #include <linux/init.h> #include <linux/bootmem.h> #include <linux/of_address.h> +#include <linux/of_pci.h> #include <linux/mm.h> #include <linux/list.h> #include <linux/syscalls.h> |