]> asedeno.scripts.mit.edu Git - linux.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)
commit01d5d7fa8376c6b5acda86e16fcad22de6bba486
tree1a8abb7de59e61d4f8091e5ae4ae6d89e956d1a7
parentd0c9606b31a21028fb5b753c8ad79626292accfd
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 ad281ecf1c7d ("PCI: Add DMA alias quirk for
Microsemi Switchtec NTB").

Fixes: ad281ecf1c7d ("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