diff options
Diffstat (limited to 'include/linux/vfio.h')
-rw-r--r-- | include/linux/vfio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h index d3204115f15d..2d67b8998fd8 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h | |||
@@ -26,6 +26,7 @@ | |||
26 | * @ioctl: Perform ioctl(2) on device file descriptor, supporting VFIO_DEVICE_* | 26 | * @ioctl: Perform ioctl(2) on device file descriptor, supporting VFIO_DEVICE_* |
27 | * operations documented below | 27 | * operations documented below |
28 | * @mmap: Perform mmap(2) on a region of the device file descriptor | 28 | * @mmap: Perform mmap(2) on a region of the device file descriptor |
29 | * @request: Request for the bus driver to release the device | ||
29 | */ | 30 | */ |
30 | struct vfio_device_ops { | 31 | struct vfio_device_ops { |
31 | char *name; | 32 | char *name; |
@@ -38,6 +39,7 @@ struct vfio_device_ops { | |||
38 | long (*ioctl)(void *device_data, unsigned int cmd, | 39 | long (*ioctl)(void *device_data, unsigned int cmd, |
39 | unsigned long arg); | 40 | unsigned long arg); |
40 | int (*mmap)(void *device_data, struct vm_area_struct *vma); | 41 | int (*mmap)(void *device_data, struct vm_area_struct *vma); |
42 | void (*request)(void *device_data, unsigned int count); | ||
41 | }; | 43 | }; |
42 | 44 | ||
43 | extern int vfio_add_group_dev(struct device *dev, | 45 | extern int vfio_add_group_dev(struct device *dev, |