summaryrefslogtreecommitdiff
path: root/include/linux/of_pci.h
blob: bb115deb7612815d016aa2ec99c0bbe7c1cab212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);

#endif