]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/of_pci.h
of/pci: Add of_pci_get_devfn() function
[mirror_ubuntu-bionic-kernel.git] / include / linux / of_pci.h
CommitLineData
04bea68b
SAS
1#ifndef __OF_PCI_H
2#define __OF_PCI_H
3
4#include <linux/pci.h>
5
6struct pci_dev;
7struct of_irq;
3df425f3 8int of_irq_map_pci(const struct pci_dev *pdev, struct of_irq *out_irq);
98d9f30c
BH
9
10struct device_node;
11struct device_node *of_pci_find_child_device(struct device_node *parent,
12 unsigned int devfn);
45ab9702 13int of_pci_get_devfn(struct device_node *np);
98d9f30c 14
04bea68b 15#endif