Browse Source

virtio_pci: fix coding style for structs

should be

struct foo {
}

not

struct foo
{
}

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin 11 years ago
parent
commit
f913dd4536
1 changed files with 2 additions and 4 deletions
  1. 2 4
      drivers/virtio/virtio_pci.c

+ 2 - 4
drivers/virtio/virtio_pci.c

@@ -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;