OSDN Git Service

msm: secure_buffer: Add missing include
authorMitchel Humpherys <mitchelh@codeaurora.org>
Tue, 13 Oct 2015 01:13:06 +0000 (18:13 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:21 +0000 (11:14 -0700)
secure_buffer.h makes use of the scatterlist structure, but doesn't
include the header file that defines it.  Until now we've been getting
lucky that all users of secure_buffer.h have been including the
scatterlist header file themselves, but this might not always be the
case.  Add the missing include.

Change-Id: If7598c26a1ef3551132c6eb62ac9bd6d447654d0
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
include/soc/qcom/secure_buffer.h

index 2f97c59..115e95a 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef __MSM_SECURE_BUFFER_H__
 #define __MSM_SECURE_BUFFER_H__
 
+#include <linux/scatterlist.h>
 
 #define VMID_HLOS 0x3
 #define VMID_CP_TOUCH 0x8