aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/char
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
parentvirtgpu: pull in uaccess.h (diff)
downloadwireguard-linux-b69df6cd0ad72e0ee5833887f8ac062170984cf5.tar.xz
wireguard-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/char')
-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);