aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-03 09:34:30 -0500
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 14:42:01 -0500
commitf913dd4536b10dd26dbda0cd9866e9b0ede9011e (patch)
treec01cf3ed23e363a7643d95b4d7e5b95e2efca749
parentaf535722f8f2ff057dc676ca3f0a99612cd6b02e (diff)
virtio_pci: fix coding style for structs
should be struct foo { } not struct foo { } Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--drivers/virtio/virtio_pci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index ee1b54c93913..6f3db1f89654 100644
--- a/drivers/virtio/virtio_pci.c
+++ b/drivers/virtio/virtio_pci.c
@@ -32,8 +32,7 @@ MODULE_LICENSE("GPL");
32MODULE_VERSION("1"); 32MODULE_VERSION("1");
33 33
34/* Our device structure */ 34/* Our device structure */
35struct virtio_pci_device 35struct virtio_pci_device {
36{
37 struct virtio_device vdev; 36 struct virtio_device vdev;
38 struct pci_dev *pci_dev; 37 struct pci_dev *pci_dev;
39 38
@@ -72,8 +71,7 @@ enum {
72 VP_MSIX_VQ_VECTOR = 1, 71 VP_MSIX_VQ_VECTOR = 1,
73}; 72};
74 73
75struct virtio_pci_vq_info 74struct virtio_pci_vq_info {
76{
77 /* the actual virtqueue */ 75 /* the actual virtqueue */
78 struct virtqueue *vq; 76 struct virtqueue *vq;
79 77