summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-04-07 02:37:55 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 12:05:29 +0200
commitb69df6cd0ad72e0ee5833887f8ac062170984cf5 (patch)
treed87e45ba3756449b670f7153d1133c9c59f86273 /drivers
parentvirtgpu: pull in uaccess.h (diff)
downloadlinux-b69df6cd0ad72e0ee5833887f8ac062170984cf5.tar.xz
linux-b69df6cd0ad72e0ee5833887f8ac062170984cf5.zip
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')
-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);