summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Gebben <jgebben@codeaurora.org>2016-02-10 10:38:11 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:07:50 -0700
commitbfa70fb909970a1d18f0eedd48520f81d49e91fc (patch)
treec6d50154dc624ec3c9f44cf9bc7acfc1139aa3da /include
parent94fe94c1ebf7ba0b9386f1d877c291bfaf9b6052 (diff)
msm: secure_buffer: fix stub functions
All of these need to be 'static inline' to avoid multiple definition problems when MSM_SECURE_BUFFER=n. Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/secure_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/soc/qcom/secure_buffer.h b/include/soc/qcom/secure_buffer.h
index dd0dceaa3e5b..6a41897e747b 100644
--- a/include/soc/qcom/secure_buffer.h
+++ b/include/soc/qcom/secure_buffer.h
@@ -58,7 +58,7 @@ static inline int msm_unsecure_table(struct sg_table *table)
{
return -EINVAL;
}
-int hyp_assign_table(struct sg_table *table,
+static inline int hyp_assign_table(struct sg_table *table,
u32 *source_vm_list, int source_nelems,
int *dest_vmids, int *dest_perms,
int dest_nelems)
@@ -77,7 +77,7 @@ static inline bool msm_secure_v2_is_supported(void)
{
return false;
}
-const char *msm_secure_vmid_to_string(int secure_vmid)
+static inline const char *msm_secure_vmid_to_string(int secure_vmid)
{
return "N/A";
}