diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2020-05-09 18:19:28 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-05-14 16:35:09 -0500 |
commit | 6ae72bfa656ea04806f98ef85cb44b0789064362 (patch) | |
tree | 3e476c1b2f8c95051f631686d1158042c4a4d4f8 /arch/riscv/boot/install.sh | |
parent | 914a1951d88968371c7d43400c9d936382cd7d69 (diff) | |
download | linux-6ae72bfa656ea04806f98ef85cb44b0789064362.tar.bz2 |
PCI: Unify pcie_find_root_port() and pci_find_pcie_root_port()
Previously we used pcie_find_root_port() to find a Root Port from a PCIe
device and pci_find_pcie_root_port() to find a Root Port from a
Conventional PCI device.
Unify the two functions and use pcie_find_root_port() to find a Root Port
from either a Conventional PCI device or a PCIe device. Then there is no
need to distinguish the type of the device.
Link: https://lore.kernel.org/r/1589019568-5216-1-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org> # wireless
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> # thunderbolt
Diffstat (limited to 'arch/riscv/boot/install.sh')
0 files changed, 0 insertions, 0 deletions