PCI: dwc: Expose dw_pcie_write_dbi2() to module
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 26 Sep 2023 12:24:22 +0000 (21:24 +0900)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 23 Oct 2023 12:39:17 +0000 (12:39 +0000)
commit303e845351f5d2b4ff349bb3e59aba2b554d8229
treeb1b6b479efdb862d12c0c23cce19b2303ac3a04e
parent2066b41a2ef83937f70a84927cbbcc969528b867
PCI: dwc: Expose dw_pcie_write_dbi2() 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_write_dbi2" [drivers/pci/controller/dwc/pcie-rcar-gen4-host-drv.ko] undefined!

So, expose dw_pcie_write_dbi2() for it.

Link: https://lore.kernel.org/linux-pci/20230926122431.3974714-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: Serge Semin <fancer.lancer@gmail.com>
drivers/pci/controller/dwc/pcie-designware.c