summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-uniphier-ep.c
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2023-11-22 09:04:03 +0300
committerLorenzo Pieralisi <lpieralisi@kernel.org>2023-12-19 11:36:42 +0300
commitc0dcdeea085053f3f25ee0ad262aa0aaa86df82b (patch)
treeecc7b0be4fccd4acaaf813d0c5d8d0ad32fec5a2 /drivers/pci/controller/dwc/pcie-uniphier-ep.c
parent3ba180c45b309db39eef2bd595a2564b294ea1e7 (diff)
downloadlinux-c0dcdeea085053f3f25ee0ad262aa0aaa86df82b.tar.xz
PCI: uniphier: Use INTX instead of legacy
In the Designware uniphier controller driver, including the endpoint driver, change all names using "legacy" to use "intx", to match the term used in the PCI specifications. Link: https://lore.kernel.org/r/20231122060406.14695-14-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-uniphier-ep.c')
-rw-r--r--drivers/pci/controller/dwc/pcie-uniphier-ep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pcie-uniphier-ep.c b/drivers/pci/controller/dwc/pcie-uniphier-ep.c
index d47236d5678d..a45f94b284a2 100644
--- a/drivers/pci/controller/dwc/pcie-uniphier-ep.c
+++ b/drivers/pci/controller/dwc/pcie-uniphier-ep.c
@@ -212,7 +212,7 @@ static void uniphier_pcie_ep_init(struct dw_pcie_ep *ep)
dw_pcie_ep_reset_bar(pci, bar);
}
-static int uniphier_pcie_ep_raise_legacy_irq(struct dw_pcie_ep *ep)
+static int uniphier_pcie_ep_raise_intx_irq(struct dw_pcie_ep *ep)
{
struct dw_pcie *pci = to_dw_pcie_from_ep(ep);
struct uniphier_pcie_ep_priv *priv = to_uniphier_pcie(pci);
@@ -262,7 +262,7 @@ static int uniphier_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no,
switch (type) {
case PCI_IRQ_INTX:
- return uniphier_pcie_ep_raise_legacy_irq(ep);
+ return uniphier_pcie_ep_raise_intx_irq(ep);
case PCI_IRQ_MSI:
return uniphier_pcie_ep_raise_msi_irq(ep, func_no,
interrupt_num);