diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-03-20 05:52:41 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-03-20 05:52:41 -0700 |
| commit | eba53bd21a5777565a5b0fb5cd199c5859694d29 (patch) | |
| tree | bf243397c57653d548e7264771c71a8695483b0a | |
| parent | b14a860906a22d2d310c5038981df64415ecd191 (diff) | |
| parent | a526edca0eb8d80efd12824b99c82b9f63300aae (diff) | |
Merge "apr: msm: fix compilation for non glink targets"
| -rw-r--r-- | include/linux/qdsp6v2/apr.h | 12 |
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 |
