PCI/ATS: Add inline to pci_prg_resp_pasid_required()
commit fff42928ade591969836ff49888d063b829ac888 upstream.
Fix unused function warning when compiled with CONFIG_PCI_PASID
disabled.
Fixes: e5567f5f6762 ("PCI/ATS: Add pci_prg_resp_pasid_required() interface.")
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c807ccdd81
commit
fd9ae1c7ed
@@ -67,7 +67,7 @@ static inline int pci_max_pasids(struct pci_dev *pdev)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int pci_prg_resp_pasid_required(struct pci_dev *pdev)
|
||||
static inline int pci_prg_resp_pasid_required(struct pci_dev *pdev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user