summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-06-18 16:36:08 +0200
committerManivannan Sadhasivam <mani@kernel.org>2026-07-01 06:51:41 +0200
commit7f4d9901eb1fdd3d2e56b514dcc325b33185b8e1 (patch)
tree2a1a044831bdc383a7aca7ca75a4e120efb7da68 /scripts/patch-kernel
parentd4e0984f12ea958e0f2def90ddb1e193a896932b (diff)
downloadlinux-7f4d9901eb1fdd3d2e56b514dcc325b33185b8e1.tar.gz
linux-7f4d9901eb1fdd3d2e56b514dcc325b33185b8e1.zip
PCI: imx6: Fix building against PCI_PWRCTRL_GENERIC
When endpoint mode is built-in, but pwrctrl support is in a loadable module, the imx driver fails to build because the unused host support still tries to link against pwrctrl: ld.lld: error: undefined symbol: pci_pwrctrl_power_off_devices >>> referenced by pci-imx6.c:1988 (drivers/pci/controller/dwc/pci-imx6.c:1988) >>> drivers/pci/controller/dwc/pci-imx6.o:(imx_pcie_shutdown) in archive vmlinux.a Add one more select for this. Fixes: 85c1fcfa740d ("PCI: imx6: Integrate new pwrctrl API") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Sherry Sun <sherry.sun@nxp.com> Link: https://patch.msgid.link/20260618143629.2035247-1-arnd@kernel.org
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions