diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vfio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h index 25a0fbd4b998..d3204115f15d 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h | |||
| @@ -98,16 +98,16 @@ extern int vfio_external_user_iommu_id(struct vfio_group *group); | |||
| 98 | extern long vfio_external_check_extension(struct vfio_group *group, | 98 | extern long vfio_external_check_extension(struct vfio_group *group, |
| 99 | unsigned long arg); | 99 | unsigned long arg); |
| 100 | 100 | ||
| 101 | struct pci_dev; | ||
| 101 | #ifdef CONFIG_EEH | 102 | #ifdef CONFIG_EEH |
| 102 | extern int vfio_spapr_pci_eeh_open(struct pci_dev *pdev); | 103 | extern void vfio_spapr_pci_eeh_open(struct pci_dev *pdev); |
| 103 | extern void vfio_spapr_pci_eeh_release(struct pci_dev *pdev); | 104 | extern void vfio_spapr_pci_eeh_release(struct pci_dev *pdev); |
| 104 | extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, | 105 | extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, |
| 105 | unsigned int cmd, | 106 | unsigned int cmd, |
| 106 | unsigned long arg); | 107 | unsigned long arg); |
| 107 | #else | 108 | #else |
| 108 | static inline int vfio_spapr_pci_eeh_open(struct pci_dev *pdev) | 109 | static inline void vfio_spapr_pci_eeh_open(struct pci_dev *pdev) |
| 109 | { | 110 | { |
| 110 | return 0; | ||
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | static inline void vfio_spapr_pci_eeh_release(struct pci_dev *pdev) | 113 | static inline void vfio_spapr_pci_eeh_release(struct pci_dev *pdev) |
