]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: Add pci_device_to_OF_node() stub for !CONFIG_OF
authorKevin Hao <haokexin@gmail.com>
Tue, 3 Feb 2015 15:29:52 +0000 (09:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 3 Feb 2015 15:29:52 +0000 (09:29 -0600)
commitf0b66a2cf68ed3613fe72fe01ed309f998e2bbb3
treefdf72f73811699393465dd31be8b528be29c914e
parentf65d539c6fb4de92df4d3c8a49b9ac3fd8d17f18
PCI: Add pci_device_to_OF_node() stub for !CONFIG_OF

Add a stub for pci_device_to_OF_node() so drivers don't need to
use #ifdef CONFIG_OF around calls to it.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci.h