Skip to content

Commit fff4292

Browse files
Kuppuswamy Sathyanarayananjoergroedel
authored andcommitted
PCI/ATS: Add inline to pci_prg_resp_pasid_required()
Fix unused function warning when compiled with CONFIG_PCI_PASID disabled. Fixes: e5567f5 ("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>
1 parent 117266f commit fff4292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/pci-ats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static inline int pci_max_pasids(struct pci_dev *pdev)
6767
return -EINVAL;
6868
}
6969

70-
static int pci_prg_resp_pasid_required(struct pci_dev *pdev)
70+
static inline int pci_prg_resp_pasid_required(struct pci_dev *pdev)
7171
{
7272
return 0;
7373
}

0 commit comments

Comments
 (0)