aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-uniphier-ep.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-11-22 06:04:03 +0000
committerLorenzo Pieralisi <[email protected]>2023-12-19 08:36:42 +0000
commitc0dcdeea085053f3f25ee0ad262aa0aaa86df82b (patch)
treeecc7b0be4fccd4acaaf813d0c5d8d0ad32fec5a2 /drivers/pci/controller/dwc/pcie-uniphier-ep.c
parentPCI: tegra194: Use INTX instead of legacy (diff)
downloadkernel-c0dcdeea085053f3f25ee0ad262aa0aaa86df82b.tar.gz
kernel-c0dcdeea085053f3f25ee0ad262aa0aaa86df82b.zip
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/[email protected] Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
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);