aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qcom_scm.h
diff options
context:
space:
mode:
authorElliot Berman <eberman@codeaurora.org>2020-01-07 13:04:12 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-01-07 22:14:04 -0800
commit9a1108d2b001cda1af17160c78afedfff92e2202 (patch)
treec93ed9c4b0ad20a5859f94fe716debab72d07e7b /include/linux/qcom_scm.h
parentfirmware: qcom_scm: Apply consistent naming scheme to command IDs (diff)
downloadlinux-dev-9a1108d2b001cda1af17160c78afedfff92e2202.tar.xz
linux-dev-9a1108d2b001cda1af17160c78afedfff92e2202.zip
firmware: qcom_scm: Remove unused qcom_scm_get_version
Remove unused qcom_scm_get_version. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Tested-by: Brian Masney <masneyb@onstation.org> # arm32 Tested-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Elliot Berman <eberman@codeaurora.org> Link: https://lore.kernel.org/r/1578431066-19600-4-git-send-email-eberman@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/qcom_scm.h')
-rw-r--r--include/linux/qcom_scm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index 2c1d20312ce0..98e775d7a3ec 100644
--- a/include/linux/qcom_scm.h
+++ b/include/linux/qcom_scm.h
@@ -78,7 +78,6 @@ extern int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,
const struct qcom_scm_vmperm *newvm,
unsigned int dest_cnt);
extern void qcom_scm_cpu_power_down(u32 flags);
-extern u32 qcom_scm_get_version(void);
extern int qcom_scm_set_remote_state(u32 state, u32 id);
extern bool qcom_scm_restore_sec_cfg_available(void);
extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare);
@@ -123,7 +122,6 @@ static inline int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,
const struct qcom_scm_vmperm *newvm,
unsigned int dest_cnt) { return -ENODEV; }
static inline void qcom_scm_cpu_power_down(u32 flags) {}
-static inline u32 qcom_scm_get_version(void) { return 0; }
static inline u32
qcom_scm_set_remote_state(u32 state,u32 id) { return -ENODEV; }
static inline bool qcom_scm_restore_sec_cfg_available(void) { return false; }