Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a03aba0 authored by Alistair Strachan's avatar Alistair Strachan
Browse files

ANDROID: staging: 'vsoc' driver build fix.



This driver uses kmalloc/kcalloc/kfree without including <linux/slab.h>.
Affects some defconfigs.

Fixes: 692acd7b ("FROMLIST: staging: Android: Add 'vsoc' driver for
                     cuttlefish.")
Bug: 70214720
Change-Id: Ic03348415e0ba6c36387ed09551de038063f129c
Signed-off-by: default avatarAlistair Strachan <astrachan@google.com>
parent 7280968d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
#include <linux/mutex.h>
#include <linux/cdev.h>
#include <linux/file.h>
#include <linux/slab.h>
#include "uapi/vsoc_shm.h"

#define VSOC_DEV_NAME "vsoc"