linux-next: build failure after merge of the pci tree

From: Stephen Rothwell
Date: Sun Jun 30 2024 - 23:01:23 EST


Hi all,

After merging the pci tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/pci/controller/dwc/pcie-designware-ep.c:818:6: error: redefinition of 'dw_pcie_ep_linkup'
818 | void dw_pcie_ep_linkup(struct dw_pcie_ep *ep)
| ^~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pcie-designware-ep.c:22:6: note: previous definition of 'dw_pcie_ep_linkup' with type 'void(struct dw_pcie_ep *)'
22 | void dw_pcie_ep_linkup(struct dw_pcie_ep *ep)
| ^~~~~~~~~~~~~~~~~

Caused by commit

9eba2f70362f ("PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper")

possibly because of an interaction with commit

3d2e425263e2 ("PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event")

I have used the pci tree from next-20240628 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpstmuJ4KF1T.pgp
Description: OpenPGP digital signature