mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "qseecom: Enable APIs only when module is enabled"
This commit is contained in:
commit
6275165e1e
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