summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMohamed Sunfeer <msunfeer@codeaurora.org>2019-10-25 23:53:01 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-11-11 20:22:53 -0800
commit195b2497d11037a2cd921b9c8aa54907ac343d11 (patch)
treef259b19d09fa4b55f0cc490398b50bdaa0e0cd19 /include/uapi/linux
parent9fbd3acbf7d7c4d295f1f9fae508c097ba1dcc9c (diff)
qseecom: Fix compilation errors
While porting the changes from 4.9 kernel version to 4.4 version, there are few function prototype got changed which leads to compilation error, this patch fixes those errors by using the appropriate functions and added some definitions. Change-Id: I525e84f25912377cad72f72b6d451702f9afd2c6 Signed-off-by: Mohamed Sunfeer <msunfeer@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/qseecom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/qseecom.h b/include/uapi/linux/qseecom.h
index 40c96eef3059..63e2a5f2b671 100644
--- a/include/uapi/linux/qseecom.h
+++ b/include/uapi/linux/qseecom.h
@@ -7,6 +7,11 @@
#define MAX_ION_FD 4
#define MAX_APP_NAME_SIZE 64
#define QSEECOM_HASH_SIZE 32
+
+/* qseecom_ta_heap allocation retry delay (ms) and max attemp count */
+#define QSEECOM_TA_ION_ALLOCATE_DELAY 50
+#define QSEECOM_TA_ION_ALLOCATE_MAX_ATTEMP 20
+
/*
* struct qseecom_register_listener_req -
* for register listener ioctl request