aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio/mdev/mdev_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vfio/mdev/mdev_private.h')
-rw-r--r--drivers/vfio/mdev/mdev_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/mdev/mdev_private.h b/drivers/vfio/mdev/mdev_private.h
index a9cefd70a705..b5819b7d7ef7 100644
--- a/drivers/vfio/mdev/mdev_private.h
+++ b/drivers/vfio/mdev/mdev_private.h
@@ -20,7 +20,6 @@ struct mdev_parent {
20 struct device *dev; 20 struct device *dev;
21 const struct mdev_parent_ops *ops; 21 const struct mdev_parent_ops *ops;
22 struct kref ref; 22 struct kref ref;
23 struct mutex lock;
24 struct list_head next; 23 struct list_head next;
25 struct kset *mdev_types_kset; 24 struct kset *mdev_types_kset;
26 struct list_head type_list; 25 struct list_head type_list;
@@ -34,6 +33,7 @@ struct mdev_device {
34 struct kref ref; 33 struct kref ref;
35 struct list_head next; 34 struct list_head next;
36 struct kobject *type_kobj; 35 struct kobject *type_kobj;
36 bool active;
37}; 37};
38 38
39#define to_mdev_device(dev) container_of(dev, struct mdev_device, dev) 39#define to_mdev_device(dev) container_of(dev, struct mdev_device, dev)