projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117266f
)
PCI/ATS: Add inline to pci_prg_resp_pasid_required()
author
Kuppuswamy Sathyanarayanan
<
[email protected]
>
Wed, 27 Feb 2019 19:26:46 +0000
(11:26 -0800)
committer
Joerg Roedel
<
[email protected]
>
Thu, 28 Feb 2019 10:09:29 +0000
(11:09 +0100)
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 <
[email protected]
>
Signed-off-by: Joerg Roedel <
[email protected]
>
include/linux/pci-ats.h
patch
|
blob
|
history
diff --git
a/include/linux/pci-ats.h
b/include/linux/pci-ats.h
index facfd6a18fe184a90b9f2790ca1e79fd496aff1c..1ebb88e7c184c9ce4246b043dfaf08cd00ba9357 100644
(file)
--- a/
include/linux/pci-ats.h
+++ b/
include/linux/pci-ats.h
@@
-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 in
line in
t pci_prg_resp_pasid_required(struct pci_dev *pdev)
{
return 0;
}