]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add a stub for pci_ats_disabled()
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Wed, 17 Apr 2019 18:24:41 +0000 (19:24 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 23 Apr 2019 11:22:55 +0000 (12:22 +0100)
commit25cf503172669b1f46270110a877a29c4971088c
tree966ff266b5a78dd1a90e196aaf320b9ebe86f6f2
parent314b24177a067ca1c67a6ec9146d33b34acad4e9
PCI: Add a stub for pci_ats_disabled()

Currently pci_ats_disabled() is only defined when CONFIG_PCI is enabled.
Since we're about to use the function in the Arm SMMUv3 driver, which
could be built with CONFIG_PCI disabled, add a definition of
pci_ats_disabled() for !CONFIG_PCI.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/linux/pci.h