[PATCH v3 0/2] PCI: qcom: Add support for modular builds

From: Johan Hovold
Date: Mon Oct 17 2022 - 07:48:07 EST


Allow the Qualcomm PCIe controller driver to be built as a module, which
is useful for multi-platform kernels as well as during development.

There's no rush with this, but I figured I'd send an updated version
that has been rebased on 6.1-rc1 (where post_deinit() has been removed).

I also broke out the qcom_pcie_host_deinit() handler in a separate patch
as the host_deinit() callback has now been added to dwc core and can be
used to fixes some late-probe error handling.

Johan


Changes in v3
- rebase on 6.1-rc1 where post_deinit() has been removed
- split out host-init error handling
- add Stan's ack

Changes in v2
- rebase on next-20220720 (adjust context)
- add Rob and Mani's reviewed-by tags


Johan Hovold (2):
PCI: qcom: Fix host-init error handling
PCI: qcom: Add support for modular builds

drivers/pci/controller/dwc/Kconfig | 2 +-
drivers/pci/controller/dwc/pcie-qcom.c | 39 +++++++++++++++++++++++---
2 files changed, 36 insertions(+), 5 deletions(-)

--
2.37.3