aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/vfio-mdev/mtty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c
index ca495686b9c3..09f255bdf3ac 100644
--- a/samples/vfio-mdev/mtty.c
+++ b/samples/vfio-mdev/mtty.c
@@ -1413,7 +1413,7 @@ struct attribute_group *mdev_type_groups[] = {
1413 NULL, 1413 NULL,
1414}; 1414};
1415 1415
1416struct mdev_parent_ops mdev_fops = { 1416static const struct mdev_parent_ops mdev_fops = {
1417 .owner = THIS_MODULE, 1417 .owner = THIS_MODULE,
1418 .dev_attr_groups = mtty_dev_groups, 1418 .dev_attr_groups = mtty_dev_groups,
1419 .mdev_attr_groups = mdev_dev_groups, 1419 .mdev_attr_groups = mdev_dev_groups,