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>
This commit is contained in:
Jeremy Gebben 2016-02-10 10:38:11 -07:00 committed by David Keitel
parent 94fe94c1eb
commit bfa70fb909

View file

@ -58,7 +58,7 @@ static inline int msm_unsecure_table(struct sg_table *table)
{ {
return -EINVAL; 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, u32 *source_vm_list, int source_nelems,
int *dest_vmids, int *dest_perms, int *dest_vmids, int *dest_perms,
int dest_nelems) int dest_nelems)
@ -77,7 +77,7 @@ static inline bool msm_secure_v2_is_supported(void)
{ {
return false; 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"; return "N/A";
} }