From 188383cf0a2ec9fea769e66619cdc07ccf540698 Mon Sep 17 00:00:00 2001 From: Siddharth Gupta Date: Tue, 28 Jan 2020 11:18:01 -0800 Subject: [PATCH] linux: scm: Update the API for assign memory to subsys Update the API of the mdf assign memory to subsys for cases when the scm driver is not compiled. The current API has an extra parameter. Change-Id: I50c100d2ee260a14fe754a8497727b5d37d20610 Signed-off-by: Siddharth Gupta --- include/linux/qcom_scm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index 31ffaaa89590..bf0e2bbc40e6 100644 --- a/include/linux/qcom_scm.h +++ b/include/linux/qcom_scm.h @@ -275,8 +275,8 @@ static inline int qcom_scm_kgsl_set_smmu_aperture( unsigned int num_context_bank) { return -ENODEV; } static inline int qcom_scm_smmu_prepare_atos_id(u64 dev_id, int cb_num, int operation) { return -ENODEV; } -static inline int qcom_mdf_assign_memory_to_subsys(struct device *dev, - u64 start_addr, u64 end_addr, phys_addr_t paddr, u64 size) +static inline int qcom_mdf_assign_memory_to_subsys(u64 start_addr, u64 end_addr, + phys_addr_t paddr, u64 size) { return -ENODEV; } static inline int qcom_scm_get_feat_version_cp(u64 *version) { return -ENODEV; }