Skip to content

Commit 2066b41

Browse files
shimodaykwilczynski
authored andcommitted
PCI: dwc: Expose dw_pcie_ep_exit() to module
Since no PCIe controller drivers call this, this change is not required for now. But, Renesas R-Car Gen4 PCIe controller driver will call this and if the controller driver is built as a kernel module, the following build error happens: ERROR: modpost: "dw_pcie_ep_exit" [drivers/pci/controller/dwc/pcie-rcar-gen4-ep-drv.ko] undefined! So, expose dw_pcie_ep_exit() for it. Link: https://lore.kernel.org/linux-pci/20231018085631.1121289-8-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
1 parent 1896d17 commit 2066b41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pci/controller/dwc/pcie-designware-ep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ void dw_pcie_ep_exit(struct dw_pcie_ep *ep)
638638

639639
pci_epc_mem_exit(epc);
640640
}
641+
EXPORT_SYMBOL_GPL(dw_pcie_ep_exit);
641642

642643
static unsigned int dw_pcie_ep_find_ext_capability(struct dw_pcie *pci, int cap)
643644
{

0 commit comments

Comments
 (0)