diff options
author | Alex Williamson <[email protected]> | 2022-05-11 13:12:05 -0600 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-05-11 13:12:05 -0600 |
commit | 5acb6cd19d121522e215b51b243955901ae5ad02 (patch) | |
tree | 72ce5e5e8fdb9f632fbb99d28a8a29629910d3ae /samples/vfio-mdev/mdpy.c | |
parent | 920df8d6ef122a4129960d410209ee92614667ca (diff) | |
parent | 419f8299ddad6070a6c95aaedf78e50265871f36 (diff) |
Merge tag 'gvt-next-2022-04-29' into v5.19/vfio/next
Merge GVT-g dependencies for vfio.
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'samples/vfio-mdev/mdpy.c')
-rw-r--r-- | samples/vfio-mdev/mdpy.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/samples/vfio-mdev/mdpy.c b/samples/vfio-mdev/mdpy.c index fe5d43e797b6..e8c46eb2e246 100644 --- a/samples/vfio-mdev/mdpy.c +++ b/samples/vfio-mdev/mdpy.c @@ -723,12 +723,7 @@ static struct mdev_driver mdpy_driver = { }, .probe = mdpy_probe, .remove = mdpy_remove, -}; - -static const struct mdev_parent_ops mdev_fops = { - .owner = THIS_MODULE, - .device_driver = &mdpy_driver, - .supported_type_groups = mdev_type_groups, + .supported_type_groups = mdev_type_groups, }; static const struct file_operations vd_fops = { @@ -771,7 +766,7 @@ static int __init mdpy_dev_init(void) if (ret) goto err_class; - ret = mdev_register_device(&mdpy_dev, &mdev_fops); + ret = mdev_register_device(&mdpy_dev, &mdpy_driver); if (ret) goto err_device; |