提交 fff42928 编写于 作者: K Kuppuswamy Sathyanarayanan 提交者: Joerg Roedel

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: NKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 117266fd
...@@ -67,7 +67,7 @@ static inline int pci_max_pasids(struct pci_dev *pdev) ...@@ -67,7 +67,7 @@ static inline int pci_max_pasids(struct pci_dev *pdev)
return -EINVAL; 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; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册