Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ad32eb2d authored by Bjørn Mork's avatar Bjørn Mork Committed by Bjorn Helgaas
Browse files

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: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarBjorn Helgaas <helgaas@kernel.org>
parent df62ab5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment