]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: faraday: Use PCI_NUM_INTX
authorPaul Burton <paul.burton@imgtec.com>
Tue, 15 Aug 2017 21:26:36 +0000 (16:26 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 16:42:28 +0000 (11:42 -0500)
commitecd2c0ca34c6bf5b698127d62ec6208cee4e2342
treeb96103f3d981c2c2285a25c85930ff95bcbf34f4
parent9f7b8e697f791055feb87cddae90d1be21e11222
PCI: faraday: Use PCI_NUM_INTX

Use the PCI_NUM_INTX macro to indicate the number of PCI INTx interrupts
rather than the magic number 4. This makes it clearer where the number
comes from & what it relates to.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-ftpci100.c