Subject: build failure of next-20220718 due to 'imx6_pcie_host_exit' defined but not used

From: "Sudip Mukherjee (Codethink)" <[email-masked]>
Date: Mon, 18 Jul 2022 12:58:05 +0100

Hi All,

Not sure if it has been reported, builds of alpha, csky, xtensa, riscv, s390 allmodsconfig
have failed to build next-20220718 with the error:

drivers/pci/controller/dwc/pci-imx6.c:973:13: error: 'imx6_pcie_host_exit' defined but not used [-Werror=unused-function]
  973 | static void imx6_pcie_host_exit(struct dw_pcie_rp *pp)
      |             ^~~~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pci-imx6.c:904:13: error: 'imx6_pcie_stop_link' defined but not used [-Werror=unused-function]
  904 | static void imx6_pcie_stop_link(struct dw_pcie *pci)
      |             ^~~~~~~~~~~~~~~~~~~

--
Regards
Sudip