diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-06-30 15:12:02 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2025-07-17 06:50:55 +0300 |
| commit | 23972da96e1eee7f10c8ef641d56202ab9af8ba7 (patch) | |
| tree | 7cab035ca6c413f4c3d1ad30e0fec83b839763ff /include/linux/firmware | |
| parent | 84684c57c9cd47b86c883a7170dd68222d97ef13 (diff) | |
| download | linux-23972da96e1eee7f10c8ef641d56202ab9af8ba7.tar.xz | |
firmware: qcom: scm: remove unused arguments from SHM bridge routines
qcom_scm_shm_bridge_create() and qcom_scm_shm_bridge_delete() take
struct device as argument but don't use it. Remove it from these
functions' prototypes.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250630-qcom-scm-race-v2-1-fa3851c98611@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/firmware')
| -rw-r--r-- | include/linux/firmware/qcom/qcom_scm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/firmware/qcom/qcom_scm.h b/include/linux/firmware/qcom/qcom_scm.h index 983e1591bbba..82b1b8c50ca3 100644 --- a/include/linux/firmware/qcom/qcom_scm.h +++ b/include/linux/firmware/qcom/qcom_scm.h @@ -149,10 +149,10 @@ bool qcom_scm_lmh_dcvsh_available(void); int qcom_scm_gpu_init_regs(u32 gpu_req); int qcom_scm_shm_bridge_enable(void); -int qcom_scm_shm_bridge_create(struct device *dev, u64 pfn_and_ns_perm_flags, +int qcom_scm_shm_bridge_create(u64 pfn_and_ns_perm_flags, u64 ipfn_and_s_perm_flags, u64 size_and_flags, u64 ns_vmids, u64 *handle); -int qcom_scm_shm_bridge_delete(struct device *dev, u64 handle); +int qcom_scm_shm_bridge_delete(u64 handle); #ifdef CONFIG_QCOM_QSEECOM |
