diff options
| author | Manivannan Sadhasivam <[email protected]> | 2024-06-06 07:26:34 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2024-07-09 23:20:21 +0000 |
| commit | 245b9ebf7b8e2a79c207337ee78061ff8e0c774b (patch) | |
| tree | faf4c73089a56dc7e67305bf1364e6ae54cce0e9 /drivers/pci/controller/dwc/pci-imx6.c | |
| parent | PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event (diff) | |
| download | kernel-245b9ebf7b8e2a79c207337ee78061ff8e0c774b.tar.gz kernel-245b9ebf7b8e2a79c207337ee78061ff8e0c774b.zip | |
PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper
Currently dw_pcie_ep_init_notify() wrapper just calls pci_epc_init_notify()
directly, so this wrapper provides no benefit to the glue drivers.
Remove it and call pci_epc_init_notify() directly from glue drivers.
Suggested-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Siddharth Vadapalli <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-imx6.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 917c69edee1d..a876b8e6e741 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -1131,7 +1131,7 @@ static int imx6_add_pcie_ep(struct imx6_pcie *imx6_pcie, return ret; } - dw_pcie_ep_init_notify(ep); + pci_epc_init_notify(ep->epc); /* Start LTSSM. */ imx6_pcie_ltssm_enable(dev); |
