Message ID | 20240528130035.1472871-7-cassel@kernel.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Make pci/endpoint branch build | expand |
diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c index b6a5010cc1a7..25bf790e9725 100644 --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c @@ -507,7 +507,7 @@ static void qcom_pcie_perst_assert(struct dw_pcie *pci) return; } - pci_epc_deinit_notify(pci->ep.epc); + dw_pcie_ep_deinit_notify(&pci->ep); dw_pcie_ep_cleanup(&pci->ep); qcom_pcie_disable_resources(pcie_ep); pcie_ep->link_status = QCOM_PCIE_EP_LINK_DISABLED;
By using dw_pcie_ep_deinit_notify(), the init and deinit notification is performed using the same API layer. This makes the driver more consistent. Signed-off-by: Niklas Cassel <cassel@kernel.org> --- drivers/pci/controller/dwc/pcie-qcom-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)