PCI: keystone: Use PCI_NUM_INTX
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Aug 2017 21:27:57 +0000 (16:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 18:39:31 +0000 (13:39 -0500)
commitda4c4be36dc347b9b7eb0760054caa53e31abcc0
tree0b93a87a32d0dbcb971db027d38b535c23cd8859
parent44b5557a13bdc04fda582b6fdfa3819792fbfe94
PCI: keystone: Use PCI_NUM_INTX

Switch from using custom MAX_LEGACY_IRQS and MAX_LEGACY_HOST_IRQS macros to
the generic PCI_NUM_INTX definition for the number of INTx interrupts.

Based-on-similar-patches-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
drivers/pci/dwc/pci-keystone-dw.c
drivers/pci/dwc/pci-keystone.c
drivers/pci/dwc/pci-keystone.h