Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a23a0f33 authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

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: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent 832413cf
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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_ */