Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/gvt: rename intel_vgpu_ops to intel_vgpu_mdev_ops

Free the intel_vgpu_ops symbol name for something that fits better.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-4-hch@lst.de
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>

authored by

Christoph Hellwig and committed by
Zhi Wang
f49fc357 36774806

+3 -3
+3 -3
drivers/gpu/drm/i915/gvt/kvmgt.c
··· 1765 1765 NULL, 1766 1766 }; 1767 1767 1768 - static struct mdev_parent_ops intel_vgpu_ops = { 1768 + static struct mdev_parent_ops intel_vgpu_mdev_ops = { 1769 1769 .mdev_attr_groups = intel_vgpu_groups, 1770 1770 .create = intel_vgpu_create, 1771 1771 .remove = intel_vgpu_remove, ··· 1788 1788 return ret; 1789 1789 1790 1790 intel_gvt_ops = ops; 1791 - intel_vgpu_ops.supported_type_groups = gvt_vgpu_type_groups; 1791 + intel_vgpu_mdev_ops.supported_type_groups = gvt_vgpu_type_groups; 1792 1792 1793 - ret = mdev_register_device(dev, &intel_vgpu_ops); 1793 + ret = mdev_register_device(dev, &intel_vgpu_mdev_ops); 1794 1794 if (ret) 1795 1795 intel_gvt_cleanup_vgpu_type_groups((struct intel_gvt *)gvt); 1796 1796