diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 18:13:38 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 18:13:38 +0300 |
commit | 42930553a7c11f06351bc08b889808d0f6020f08 (patch) | |
tree | 673ea947ecaa5529f007fc0fc4bc9a302eeddb18 /drivers/gpu | |
parent | 49550787a90b5bfa44d8dc424d11824dbe21473d (diff) | |
download | linux-42930553a7c11f06351bc08b889808d0f6020f08.tar.xz |
vfio-mdev: de-polute the namespace, rename parent_device & parent_ops
Add an mdev_ prefix so we're not poluting the namespace so much.
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: Jike Song <jike.song@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/kvmgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/kvmgt.c b/drivers/gpu/drm/i915/gvt/kvmgt.c index 4dd6722a7339..081ada238107 100644 --- a/drivers/gpu/drm/i915/gvt/kvmgt.c +++ b/drivers/gpu/drm/i915/gvt/kvmgt.c @@ -1089,7 +1089,7 @@ static long intel_vgpu_ioctl(struct mdev_device *mdev, unsigned int cmd, return 0; } -static const struct parent_ops intel_vgpu_ops = { +static const struct mdev_parent_ops intel_vgpu_ops = { .supported_type_groups = intel_vgpu_type_groups, .create = intel_vgpu_create, .remove = intel_vgpu_remove, |