Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 1 | #ifndef __OF_PCI_H |
2 | #define __OF_PCI_H | ||||
3 | |||||
4 | #include <linux/pci.h> | ||||
5 | |||||
6 | struct pci_dev; | ||||
7 | struct of_irq; | ||||
8 | int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq); | ||||
Benjamin Herrenschmidt | 98d9f30 | 2011-04-11 11:37:07 +1000 | [diff] [blame] | 9 | |
10 | struct device_node; | ||||
11 | struct device_node *of_pci_find_child_device(struct device_node *parent, | ||||
12 | unsigned int devfn); | ||||
13 | |||||
Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 14 | #endif |