Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2313b189 authored by Zhenyu Wang's avatar Zhenyu Wang
Browse files

drm/i915/gvt: mandatory require hypervisor's host_init



Don't mark hypervisor module's host_init as optional,
but mandatory required.

Reviewed-by: default avatarYuan, Hang <hang.yuan@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent d1810909
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -52,9 +52,8 @@
static inline int intel_gvt_hypervisor_host_init(struct device *dev,
						 void *gvt, const void *ops)
{
	/* optional to provide */
	if (!intel_gvt_host.mpt->host_init)
		return 0;
		return -ENODEV;

	return intel_gvt_host.mpt->host_init(dev, gvt, ops);
}