mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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 <sidgup@codeaurora.org>
This commit is contained in:
parent
154900b51b
commit
188383cf0a
1 changed files with 2 additions and 2 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue