blob: c787150936607effb3aba2f50bc67a8a03e3e331 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* SPDX-License-Identifier: GPL-2.0-only */
#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
|