diff options
Diffstat (limited to 'virt/kvm/vfio.h')
-rw-r--r-- | virt/kvm/vfio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/virt/kvm/vfio.h b/virt/kvm/vfio.h index 92eac75d6b62..ab88c7dc0514 100644 --- a/virt/kvm/vfio.h +++ b/virt/kvm/vfio.h | |||
@@ -3,11 +3,15 @@ | |||
3 | 3 | ||
4 | #ifdef CONFIG_KVM_VFIO | 4 | #ifdef CONFIG_KVM_VFIO |
5 | int kvm_vfio_ops_init(void); | 5 | int kvm_vfio_ops_init(void); |
6 | void kvm_vfio_ops_exit(void); | ||
6 | #else | 7 | #else |
7 | static inline int kvm_vfio_ops_init(void) | 8 | static inline int kvm_vfio_ops_init(void) |
8 | { | 9 | { |
9 | return 0; | 10 | return 0; |
10 | } | 11 | } |
12 | static inline void kvm_vfio_ops_exit(void) | ||
13 | { | ||
14 | } | ||
11 | #endif | 15 | #endif |
12 | 16 | ||
13 | #endif | 17 | #endif |