summaryrefslogtreecommitdiff
path: root/virt/kvm/vfio.h
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm/vfio.h')
-rw-r--r--virt/kvm/vfio.h4
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 @@
#ifdef CONFIG_KVM_VFIO
int kvm_vfio_ops_init(void);
+void kvm_vfio_ops_exit(void);
#else
static inline int kvm_vfio_ops_init(void)
{
return 0;
}
+static inline void kvm_vfio_ops_exit(void)
+{
+}
#endif
#endif