summaryrefslogtreecommitdiffstats
path: root/include/of_pci.h
blob: c95cb0135ae051b9f3398bac2249dc33e972ce4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __OF_PCI_H
#define __OF_PCI_H

#include <linux/pci.h>

#ifdef CONFIG_OF_PCI
int of_pci_get_devfn(struct device_node *np);

#else
static inline int of_pci_get_devfn(struct device_node *np)
{
	return -EINVAL;
}

#endif

#endif