summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsish Bhattacharya <asishb@codeaurora.org>2019-03-19 21:03:30 +0530
committerAsish Bhattacharya <asishb@codeaurora.org>2019-03-20 13:16:43 +0530
commita526edca0eb8d80efd12824b99c82b9f63300aae (patch)
tree67b9fd210df8d998d95908f16ebde8f2f5f6f4a7
parent7a4c37e16d1d8f6cb779b43981aa57bdbabb0b15 (diff)
apr: msm: fix compilation for non glink targets
Define proto functions for non glink targets. Change-Id: Ie9eb32fe9af70d078d8ddc915c998d49e89b79c1 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
-rw-r--r--include/linux/qdsp6v2/apr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/qdsp6v2/apr.h b/include/linux/qdsp6v2/apr.h
index 31c552b8da07..e7e2a53a70d7 100644
--- a/include/linux/qdsp6v2/apr.h
+++ b/include/linux/qdsp6v2/apr.h
@@ -196,6 +196,18 @@ int apr_set_q6_state(enum apr_subsys_state state);
void apr_set_subsys_state(void);
const char *apr_get_lpass_subsys_name(void);
uint16_t apr_get_reset_domain(uint16_t proc);
+#ifdef CONFIG_MSM_QDSP6_APRV2_VM
+static inline int apr_start_rx_rt(void *handle)
+{
+ return 0;
+}
+
+static inline int apr_end_rx_rt(void *handle)
+{
+ return 0;
+}
+#else
int apr_start_rx_rt(void *handle);
int apr_end_rx_rt(void *handle);
#endif
+#endif