Skip to content

Commit 1b79b2a

Browse files
damien-lemoalLorenzo Pieralisi
authored andcommitted
PCI: dw-rockchip: Rename rockchip_pcie_legacy_int_handler()
Rename the function rockchip_pcie_legacy_int_handler() to rockchip_pcie_intx_handler() to match the code managing INTX interrupts (e.g. intx_domain_ops) and the term used in the PCI specifications. 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 81957ac commit 1b79b2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/controller/dwc/pcie-dw-rockchip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void rockchip_pcie_writel_apb(struct rockchip_pcie *rockchip,
7272
writel_relaxed(val, rockchip->apb_base + reg);
7373
}
7474

75-
static void rockchip_pcie_legacy_int_handler(struct irq_desc *desc)
75+
static void rockchip_pcie_intx_handler(struct irq_desc *desc)
7676
{
7777
struct irq_chip *chip = irq_desc_get_chip(desc);
7878
struct rockchip_pcie *rockchip = irq_desc_get_handler_data(desc);
@@ -202,7 +202,7 @@ static int rockchip_pcie_host_init(struct dw_pcie_rp *pp)
202202
if (ret < 0)
203203
dev_err(dev, "failed to init irq domain\n");
204204

205-
irq_set_chained_handler_and_data(irq, rockchip_pcie_legacy_int_handler,
205+
irq_set_chained_handler_and_data(irq, rockchip_pcie_intx_handler,
206206
rockchip);
207207

208208
/* LTSSM enable control mode */

0 commit comments

Comments
 (0)