BACKPORT: staging: goldfish: audio: fix compiliation on arm
authorGreg Hackmann <ghackmann@google.com>
Fri, 26 Feb 2016 19:00:18 +0000 (19:00 +0000)
committerJin Qian <jinqian@google.com>
Thu, 17 Nov 2016 17:56:06 +0000 (09:56 -0800)
We do actually need slab.h, by luck we get it on other platforms but not
always on ARM. Include it properly.

Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Jin Qian <jinqian@android.com>
Signed-off-by: Alan <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4532150762ceb0d6fd765ebcb3ba6966fbb8faab)

Change-Id: I93a0c35da40f26aaa7c253e3c0cefaa883ea3391

drivers/staging/goldfish/goldfish_audio.c

index 8841680ced9f72e418a77475030c322db78c9ab1..4191054b878e8286d7a757f89773a963e2f13da0 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/sched.h>
 #include <linux/dma-mapping.h>
 #include <linux/uaccess.h>
+#include <linux/slab.h>
 #include <linux/goldfish.h>
 
 MODULE_AUTHOR("Google, Inc.");