summaryrefslogtreecommitdiffstats
path: root/include/linux/of_pci.h
blob: 7a04826018c063fca8464deeab3f26c39f363fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
int of_pci_parse_bus_range(struct device_node *node, struct resource *res);

#endif
OpenPOWER on IntegriCloud