mirror of https://gitee.com/openkylin/linux.git
virtio_pci: fix coding style for structs
should be struct foo { } not struct foo { } Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
af535722f8
commit
f913dd4536
|
@ -32,8 +32,7 @@ MODULE_LICENSE("GPL");
|
||||||
MODULE_VERSION("1");
|
MODULE_VERSION("1");
|
||||||
|
|
||||||
/* Our device structure */
|
/* Our device structure */
|
||||||
struct virtio_pci_device
|
struct virtio_pci_device {
|
||||||
{
|
|
||||||
struct virtio_device vdev;
|
struct virtio_device vdev;
|
||||||
struct pci_dev *pci_dev;
|
struct pci_dev *pci_dev;
|
||||||
|
|
||||||
|
@ -72,8 +71,7 @@ enum {
|
||||||
VP_MSIX_VQ_VECTOR = 1,
|
VP_MSIX_VQ_VECTOR = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct virtio_pci_vq_info
|
struct virtio_pci_vq_info {
|
||||||
{
|
|
||||||
/* the actual virtqueue */
|
/* the actual virtqueue */
|
||||||
struct virtqueue *vq;
|
struct virtqueue *vq;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue