diff options
Diffstat (limited to 'include/linux/vfio.h')
-rw-r--r-- | include/linux/vfio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h index ddb440975382..610a86a892b8 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h | |||
@@ -44,6 +44,9 @@ struct vfio_device_ops { | |||
44 | void (*request)(void *device_data, unsigned int count); | 44 | void (*request)(void *device_data, unsigned int count); |
45 | }; | 45 | }; |
46 | 46 | ||
47 | extern struct iommu_group *vfio_iommu_group_get(struct device *dev); | ||
48 | extern void vfio_iommu_group_put(struct iommu_group *group, struct device *dev); | ||
49 | |||
47 | extern int vfio_add_group_dev(struct device *dev, | 50 | extern int vfio_add_group_dev(struct device *dev, |
48 | const struct vfio_device_ops *ops, | 51 | const struct vfio_device_ops *ops, |
49 | void *device_data); | 52 | void *device_data); |