diff --git a/include/soc/qcom/secure_buffer.h b/include/soc/qcom/secure_buffer.h index 6a41897e747b..5d5f6de64eea 100644 --- a/include/soc/qcom/secure_buffer.h +++ b/include/soc/qcom/secure_buffer.h @@ -52,25 +52,24 @@ const char *msm_secure_vmid_to_string(int secure_vmid); #else static inline int msm_secure_table(struct sg_table *table) { - return -EINVAL; + return -ENOSYS; } static inline int msm_unsecure_table(struct sg_table *table) { - return -EINVAL; + return -ENOSYS; } 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) { - return -EINVAL; + return -ENOSYS; } - static inline int hyp_assign_phys(phys_addr_t addr, u64 size, - u32 *source_vmlist, int source_nelems, - int *dest_vmids, int *dest_perms, int dest_nelems) + int *dest_vmids, int *dest_perms, + int dest_nelems) { - return -EINVAL; + return -ENOSYS; } static inline bool msm_secure_v2_is_supported(void)