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"; }