summaryrefslogtreecommitdiff
path: root/include/linux/of_pci.h
blob: 91ec484e0045a05eeaf5a6e32baea8b86c0e9976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __OF_PCI_H
#define __OF_PCI_H

#include <linux/pci.h>

struct pci_dev;
struct of_irq;
int of_irq_map_pci(const struct pci_dev *pdev, struct of_irq *out_irq);

struct device_node;
struct device_node *of_pci_find_child_device(struct device_node *parent,
					     unsigned int devfn);
int of_pci_get_devfn(struct device_node *np);

#endif