diff options
author | Chuanjia Liu <chuanjia.liu@mediatek.com> | 2021-08-23 11:27:58 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2021-08-26 13:49:26 +0100 |
commit | 77216702c8f6288f948ee230772b4612b835c5d6 (patch) | |
tree | 53e05995b85f8eddf3a31dc1e2029c2178f36088 /include/linux/overflow.h | |
parent | 436960bb0045854119a61efab20578f55b311a87 (diff) |
PCI: mediatek: Use PCI domain to handle ports detection
Use of_get_pci_domain_nr() to get the pci domain.
If the "linux,pci-domain" property is present, we assume that the PCIe
bridge is an individual bridge, hence we only need to parse one port.
Link: https://lore.kernel.org/r/20210823032800.1660-5-chuanjia.liu@mediatek.com
Signed-off-by: Chuanjia Liu <chuanjia.liu@mediatek.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions