PCI: Rename PCI_IRQ_LEGACY to PCI_IRQ_INTX
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Nov 2023 06:03:51 +0000 (15:03 +0900)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Mon, 18 Dec 2023 10:55:56 +0000 (11:55 +0100)
commit58ff9c5acb4aef58e118bbf39736cc4d6c11a3d3
tree888eb38e5e87b2b4048b92fa0ef53979426cec7d
parentb85ea95d086471afb4ad062012a4d73cd328fa86
PCI: Rename PCI_IRQ_LEGACY to PCI_IRQ_INTX

Rename PCI_IRQ_LEGACY to PCI_IRQ_INTX to be more explicit about the type
of IRQ being referenced as well as to match the PCI specifications
terms. Redefine PCI_IRQ_LEGACY as an alias to PCI_IRQ_INTX to avoid the
need for doing the renaming tree-wide. New drivers and new code should
now prefer using PCI_IRQ_INTX instead of PCI_IRQ_LEGACY.

Link: https://lore.kernel.org/r/20231122060406.14695-2-dlemoal@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
include/linux/pci.h