PCI: aardvark: Use PCI_NUM_INTX
authorPaul Burton <paul.burton@imgtec.com>
Tue, 15 Aug 2017 21:26:03 +0000 (16:26 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 16:40:52 +0000 (11:40 -0500)
commit0d2977a354a7839806280e49b4e3d9ac4e49e2c4
tree7d6d3067dc75110d715f48efe043e952c6e1b855
parent0d58e6c1b19b30623b5f0a053818bd2c32d61166
PCI: aardvark: Use PCI_NUM_INTX

Switch from using a custom LEGACY_IRQ_NUM macro to the generic PCI_NUM_INTX
definition for the number of INTx interrupts.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pci-aardvark.c