Commit 960deb33 authored by Parav Pandit's avatar Parav Pandit Committed by Michael S. Tsirkin

vdpa: Use kernel coding style for structure comments

As subsequent patch adds new structure field with comment, move the
structure comment to follow kernel coding style.
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Reviewed-by: default avatarEli Cohen <elic@nvidia.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20211026175519.87795-4-parav@nvidia.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ad69dd0b
...@@ -411,10 +411,17 @@ struct vdpa_mgmtdev_ops { ...@@ -411,10 +411,17 @@ struct vdpa_mgmtdev_ops {
void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev); void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev);
}; };
/**
* struct vdpa_mgmt_dev - vdpa management device
* @device: Management parent device
* @ops: operations supported by management device
* @id_table: Pointer to device id table of supported ids
* @list: list entry
*/
struct vdpa_mgmt_dev { struct vdpa_mgmt_dev {
struct device *device; struct device *device;
const struct vdpa_mgmtdev_ops *ops; const struct vdpa_mgmtdev_ops *ops;
const struct virtio_device_id *id_table; /* supported ids */ const struct virtio_device_id *id_table;
struct list_head list; struct list_head list;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment