aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape-ep.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-11-22 06:03:59 +0000
committerLorenzo Pieralisi <[email protected]>2023-12-19 08:36:42 +0000
commite9af4800d448c8e0ebfe3a1c7a29836b729d969d (patch)
treea5947d3cb98a257c89c5fcfabee039a35989d7a9 /drivers/pci/controller/dwc/pci-layerscape-ep.c
parentPCI: cadence: Use INTX instead of legacy (diff)
downloadkernel-e9af4800d448c8e0ebfe3a1c7a29836b729d969d.tar.gz
kernel-e9af4800d448c8e0ebfe3a1c7a29836b729d969d.zip
PCI: dwc: Rename dw_pcie_ep_raise_legacy_irq()
Rename the function dw_pcie_ep_raise_legacy_irq() of the Designware endpoint controller driver to dw_pcie_ep_raise_intx_irq() to match the name of the PCI_IRQ_INTX macro. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Serge Semin <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape-ep.c')
-rw-r--r--drivers/pci/controller/dwc/pci-layerscape-ep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c
index 5f78a9415286..9e7beb3ba09b 100644
--- a/drivers/pci/controller/dwc/pci-layerscape-ep.c
+++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c
@@ -172,7 +172,7 @@ static int ls_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no,
switch (type) {
case PCI_IRQ_INTX:
- return dw_pcie_ep_raise_legacy_irq(ep, func_no);
+ return dw_pcie_ep_raise_intx_irq(ep, func_no);
case PCI_IRQ_MSI:
return dw_pcie_ep_raise_msi_irq(ep, func_no, interrupt_num);
case PCI_IRQ_MSIX: