mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
qseecom: Enable APIs only when module is enabled
Enable QSEECom API only when this module is enabled. Otherwise, it could give error. Change-Id: I8f499528a4e7e531cd4763693aec86737845b528 Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
This commit is contained in:
parent
832413cfd4
commit
a23a0f3316
1 changed files with 9 additions and 0 deletions
|
|
@ -32,7 +32,16 @@ int qseecom_shutdown_app(struct qseecom_handle **handle);
|
|||
int qseecom_send_command(struct qseecom_handle *handle, void *send_buf,
|
||||
uint32_t sbuf_len, void *resp_buf, uint32_t rbuf_len);
|
||||
int qseecom_set_bandwidth(struct qseecom_handle *handle, bool high);
|
||||
#if IS_ENABLED(CONFIG_QSEECOM)
|
||||
int qseecom_process_listener_from_smcinvoke(uint32_t *result,
|
||||
u64 *response_type, unsigned int *data);
|
||||
#else
|
||||
int qseecom_process_listener_from_smcinvoke(uint32_t *result,
|
||||
u64 *response_type, unsigned int *data)
|
||||
{
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __QSEECOM_KERNEL_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue