[PATCH v8 06/19] virtio-rng: pull in slab.h

From: Michael S. Tsirkin
Date: Mon Apr 06 2020 - 21:16:49 EST


In preparation to virtio header changes, include slab.h directly as
this module is using it.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
---
drivers/char/hw_random/virtio-rng.c | 1 +
1 file changed, 1 insertion(+)

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);

--
MST