]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: dwc: Add dw_pcie_suspend_noirq(), dw_pcie_resume_noirq() stubs for !CONFIG_PCIE_...
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jan 2025 21:03:04 +0000 (15:03 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 18 Jan 2025 21:03:40 +0000 (15:03 -0600)
commitec57335b81d8fcf3088994c532b5ca21e839616a
tree470d8190d1304ec1a0e6abf8bb972416dd35a7a7
parent112aba9a79345aae81c508d92c1e9711c81d791c
PCI: dwc: Add dw_pcie_suspend_noirq(), dw_pcie_resume_noirq() stubs for !CONFIG_PCIE_DW_HOST

Previously pcie-designware.h declared dw_pcie_suspend_noirq() and
dw_pcie_resume_noirq() unconditionally, even though they were only
implemented when CONFIG_PCIE_DW_HOST was defined.

Add no-op stubs for them when CONFIG_PCIE_DW_HOST is not defined so
drivers that support both Root Complex and Endpoint modes don't need

Link: https://lore.kernel.org/r/20250117213810.GA656803@bhelgaas
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-designware.h