aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_pci.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2011-01-23 23:28:55 -0500
committerGrant Likely <grant.likely@secretlab.ca>2011-02-04 13:46:50 -0500
commit04bea68b2f0eeebb089ecc67b618795925268b4a (patch)
tree80380294ee7e073fe312af590475dc4756826094 /include/linux/of_pci.h
parentc64eae9a73a847c1698f913c893aa4012d2a30b0 (diff)
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 'include/linux/of_pci.h')
-rw-r--r--include/linux/of_pci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/of_pci.h b/include/linux/of_pci.h
new file mode 100644
index 000000000000..85a27b650d76
--- /dev/null
+++ b/include/linux/of_pci.h
@@ -0,0 +1,9 @@
1#ifndef __OF_PCI_H
2#define __OF_PCI_H
3
4#include <linux/pci.h>
5
6struct pci_dev;
7struct of_irq;
8int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq);
9#endif