summaryrefslogtreecommitdiff
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2018-03-18 15:58:06 +0300
committerBjorn Helgaas <helgaas@kernel.org>2018-03-31 01:45:57 +0300
commitad32eb2df801548a4b55802384fbbfbc04d76bfa (patch)
tree9f626407128bfa2d8bd6684eefc4701ebe4ef773 /drivers/pci/pci-sysfs.c
parentdf62ab5e0f75608919df7442654b0fab78246b7b (diff)
downloadlinux-ad32eb2df801548a4b55802384fbbfbc04d76bfa.tar.xz
PCI: Always define the of_node helpers
Simply move these inline functions outside the ifdef instead of duplicating them as stubs in the !OF case. The struct device of_node field does not depend on OF. This also fixes the missing stubbed pci_bus_to_OF_node(). Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions