]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add macro for Switchtec quirk declarations
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 10 Oct 2018 20:55:05 +0000 (15:55 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 11 Oct 2018 16:28:52 +0000 (11:28 -0500)
commit899b763d6d43df7417a36f5f2b1d39cf4098619e
tree1a8abb7de59e61d4f8091e5ae4ae6d89e956d1a7
parent4e2abdbfa641586a3bc9390221051b028cb44360
PCI: Add macro for Switchtec quirk declarations

Add SWITCHTEC_QUIRK() to reduce redundancy in declaring devices that use
quirk_switchtec_ntb_dma_alias().

By itself, this is no functional change, but a subsequent patch updates
SWITCHTEC_QUIRK() to fix cdd75111bae3 ("PCI: Add DMA alias quirk for
Microsemi Switchtec NTB").

Fixes: cdd75111bae3 ("PCI: Add DMA alias quirk for Microsemi Switchtec NTB")
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c