Commit fff42928 authored by Kuppuswamy Sathyanarayanan's avatar Kuppuswamy Sathyanarayanan Committed by Joerg Roedel
Browse files

PCI/ATS: Add inline to pci_prg_resp_pasid_required()



Fix unused function warning when compiled with CONFIG_PCI_PASID
disabled.

Fixes: e5567f5f ("PCI/ATS: Add pci_prg_resp_pasid_required() interface.")
Signed-off-by: default avatarKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 117266fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}