PCI/ATS: Move pci_prg_resp_pasid_required() to CONFIG_PCI_PRI
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 9 Oct 2019 19:54:01 +0000 (14:54 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Oct 2019 21:38:33 +0000 (16:38 -0500)
commit8cbb8a9374a271099bacdc890fb16d374261332b
treecac6881a9f671bae18f9c7605204a75101968edc
parentfd872843ecd52820654dcacf85e680d8101a9fde
PCI/ATS: Move pci_prg_resp_pasid_required() to CONFIG_PCI_PRI

pci_prg_resp_pasid_required() returns the value of the "PRG Response PASID
Required" bit from the PRI capability, but the interface was previously
defined under #ifdef CONFIG_PCI_PASID.

Move it from CONFIG_PCI_PASID to CONFIG_PCI_PRI so it's with the other
PRI-related things.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/ats.c
include/linux/pci-ats.h