Skip to content

Commit c5d973a

Browse files
damien-lemoalLorenzo Pieralisi
authored andcommitted
PCI: dra7xx: Rename dra7xx_pcie_raise_legacy_irq()
Rename the function dra7xx_pcie_raise_legacy_irq() to dra7xx_pcie_raise_intx_irq() to match the use 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: Christoph Hellwig <[email protected]>
1 parent acd2886 commit c5d973a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/controller/dwc/pci-dra7xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ static void dra7xx_pcie_ep_init(struct dw_pcie_ep *ep)
386386
dra7xx_pcie_enable_wrapper_interrupts(dra7xx);
387387
}
388388

389-
static void dra7xx_pcie_raise_legacy_irq(struct dra7xx_pcie *dra7xx)
389+
static void dra7xx_pcie_raise_intx_irq(struct dra7xx_pcie *dra7xx)
390390
{
391391
dra7xx_pcie_writel(dra7xx, PCIECTRL_TI_CONF_INTX_ASSERT, 0x1);
392392
mdelay(1);
@@ -411,7 +411,7 @@ static int dra7xx_pcie_raise_irq(struct dw_pcie_ep *ep, u8 func_no,
411411

412412
switch (type) {
413413
case PCI_IRQ_INTX:
414-
dra7xx_pcie_raise_legacy_irq(dra7xx);
414+
dra7xx_pcie_raise_intx_irq(dra7xx);
415415
break;
416416
case PCI_IRQ_MSI:
417417
dra7xx_pcie_raise_msi_irq(dra7xx, interrupt_num);

0 commit comments

Comments
 (0)