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(const struct pci_dev *pdev, struct of_irq *out_irq); 9 10 struct device_node; 11 struct device_node *of_pci_find_child_device(struct device_node *parent, 12 unsigned int devfn); 13 int of_pci_get_devfn(struct device_node *np); 14 int of_pci_parse_bus_range(struct device_node *node, struct resource *res); 15 16 #endif 17