summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_input.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-04-07 03:37:55 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 13:05:29 +0300
commitf091abe80632b09f533472c1777858a968e96d1e (patch)
treee1b8e814e6534febb803405c44dae4b534784474 /drivers/virtio/virtio_input.c
parentbf89a7c0218f5cbc0778b5a1b353006339a07421 (diff)
downloadlinux-f091abe80632b09f533472c1777858a968e96d1e.tar.xz
virtio_input: 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/virtio/virtio_input.c')
-rw-r--r--drivers/virtio/virtio_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_input.c b/drivers/virtio/virtio_input.c
index 5ae529671b3d..efaf65b0f42d 100644
--- a/drivers/virtio/virtio_input.c
+++ b/drivers/virtio/virtio_input.c
@@ -3,6 +3,7 @@
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <linux/input.h>
+#include <linux/slab.h>
#include <uapi/linux/virtio_ids.h>
#include <uapi/linux/virtio_input.h>