summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
Diffstat (limited to 'include/misc')
-rw-r--r--include/misc/cxl-base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/misc/cxl-base.h b/include/misc/cxl-base.h
index b2ebc91fe09a..bb7e629ae492 100644
--- a/include/misc/cxl-base.h
+++ b/include/misc/cxl-base.h
@@ -43,8 +43,6 @@ void cxl_afu_put(struct cxl_afu *afu);
43void cxl_slbia(struct mm_struct *mm); 43void cxl_slbia(struct mm_struct *mm);
44bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu); 44bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu);
45void cxl_pci_disable_device(struct pci_dev *dev); 45void cxl_pci_disable_device(struct pci_dev *dev);
46int cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
47void cxl_cx4_teardown_msi_irqs(struct pci_dev *pdev);
48 46
49#else /* CONFIG_CXL_BASE */ 47#else /* CONFIG_CXL_BASE */
50 48
@@ -54,8 +52,6 @@ static inline void cxl_afu_put(struct cxl_afu *afu) {}
54static inline void cxl_slbia(struct mm_struct *mm) {} 52static inline void cxl_slbia(struct mm_struct *mm) {}
55static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; } 53static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; }
56static inline void cxl_pci_disable_device(struct pci_dev *dev) {} 54static inline void cxl_pci_disable_device(struct pci_dev *dev) {}
57static inline int cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) { return -ENODEV; }
58static inline void cxl_cx4_teardown_msi_irqs(struct pci_dev *pdev) {}
59 55
60#endif /* CONFIG_CXL_BASE */ 56#endif /* CONFIG_CXL_BASE */
61 57