diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-06-16 18:39:59 +0200 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-07-01 06:51:41 +0200 |
| commit | d4e0984f12ea958e0f2def90ddb1e193a896932b (patch) | |
| tree | fc20c42c0bd57b1ac6f219e8c2fedd88777970cd /tools/lib/python | |
| parent | 3567bcf0e985a5b50c88d7fb18934c3ae7440cc0 (diff) | |
| download | linux-d4e0984f12ea958e0f2def90ddb1e193a896932b.tar.gz linux-d4e0984f12ea958e0f2def90ddb1e193a896932b.zip | |
PCI: imx6: Fix building against PCI_HOST_COMMON
When CONFIG_PCI_HOST_COMMON is set to =m, the i.MX6 PCIe driver
fails to link. This can happen when only i.MX endpoint mode is
enabled but not host mode, which would indirectly enable the
host-common driver itself.
ld.lld: error: undefined symbol: pci_host_common_parse_ports
>>> referenced by pci-imx6.c
>>> drivers/pci/controller/dwc/pci-imx6.o:(imx_pcie_host_init) in archive vmlinux.a
ld.lld: error: undefined symbol: pci_host_common_delete_ports
>>> referenced by pci-imx6.c
>>> drivers/pci/controller/dwc/pci-imx6.o:(imx_pcie_host_init) in archive vmlinux.a
>>> referenced by pci-imx6.c
>>> drivers/pci/controller/dwc/pci-imx6.o:(imx_pcie_host_init) in archive vmlinux.a
Select the common module from the endpoint support directly.
Fixes: 250eea5c06f5 ("PCI: imx6: Parse 'reset-gpios' in Root Port nodes")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260616164049.3656435-1-arnd@kernel.org
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
