diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 10:13:38 -0500 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2016-12-30 10:13:38 -0500 |
| commit | 42930553a7c11f06351bc08b889808d0f6020f08 (patch) | |
| tree | 673ea947ecaa5529f007fc0fc4bc9a302eeddb18 /samples | |
| parent | 49550787a90b5bfa44d8dc424d11824dbe21473d (diff) | |
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 'samples')
| -rw-r--r-- | samples/vfio-mdev/mtty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c index 6b633a4ea333..1a74f0e488da 100644 --- a/samples/vfio-mdev/mtty.c +++ b/samples/vfio-mdev/mtty.c | |||
| @@ -1402,7 +1402,7 @@ struct attribute_group *mdev_type_groups[] = { | |||
| 1402 | NULL, | 1402 | NULL, |
| 1403 | }; | 1403 | }; |
| 1404 | 1404 | ||
| 1405 | struct parent_ops mdev_fops = { | 1405 | struct mdev_parent_ops mdev_fops = { |
| 1406 | .owner = THIS_MODULE, | 1406 | .owner = THIS_MODULE, |
| 1407 | .dev_attr_groups = mtty_dev_groups, | 1407 | .dev_attr_groups = mtty_dev_groups, |
| 1408 | .mdev_attr_groups = mdev_dev_groups, | 1408 | .mdev_attr_groups = mdev_dev_groups, |
