Skip to content

Commit

Permalink
Merge branch 'pci/misc' into next
Browse files Browse the repository at this point in the history
* pci/misc:
  PCI: Add pci_device_to_OF_node() stub for !CONFIG_OF
  • Loading branch information
Bjorn Helgaas committed Feb 7, 2015
2 parents 66e5bde + f0b66a2 commit cb8e92d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -1862,6 +1862,8 @@ static inline void pci_set_of_node(struct pci_dev *dev) { }
static inline void pci_release_of_node(struct pci_dev *dev) { }
static inline void pci_set_bus_of_node(struct pci_bus *bus) { }
static inline void pci_release_bus_of_node(struct pci_bus *bus) { }
static inline struct device_node *
pci_device_to_OF_node(const struct pci_dev *pdev) { return NULL; }
#endif /* CONFIG_OF */

#ifdef CONFIG_EEH
Expand Down

0 comments on commit cb8e92d

Please sign in to comment.