summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-04-06 20:37:55 -0400
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 06:05:29 -0400
commitb69df6cd0ad72e0ee5833887f8ac062170984cf5 (patch)
treed87e45ba3756449b670f7153d1133c9c59f86273 /drivers/char/hw_random
parent6bbc2b63034af5d47a7f25e269be777347aa9e11 (diff)
downloadlinux-b69df6cd0ad72e0ee5833887f8ac062170984cf5.tar.bz2
virtio-rng: pull in slab.h
In preparation to virtio header changes, include slab.h directly as this module is using it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/virtio-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index 718d8c087650..79a6e47b5fbc 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -11,6 +11,7 @@
#include <linux/virtio.h>
#include <linux/virtio_rng.h>
#include <linux/module.h>
+#include <linux/slab.h>
static DEFINE_IDA(rng_index_ida);