diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/virtio-rng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index d8ffebdc2014..a1562841f539 100644 --- a/drivers/char/hw_random/virtio-rng.c +++ b/drivers/char/hw_random/virtio-rng.c | |||
@@ -30,11 +30,11 @@ static DEFINE_IDA(rng_index_ida); | |||
30 | struct virtrng_info { | 30 | struct virtrng_info { |
31 | struct hwrng hwrng; | 31 | struct hwrng hwrng; |
32 | struct virtqueue *vq; | 32 | struct virtqueue *vq; |
33 | unsigned int data_avail; | ||
34 | struct completion have_data; | 33 | struct completion have_data; |
35 | bool busy; | ||
36 | char name[25]; | 34 | char name[25]; |
35 | unsigned int data_avail; | ||
37 | int index; | 36 | int index; |
37 | bool busy; | ||
38 | }; | 38 | }; |
39 | 39 | ||
40 | static bool probe_done; | 40 | static bool probe_done; |