diff mbox series

[v3,3/4] linux-generic: init: implement odp_init_param_init()

Message ID 1509998406-12706-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v3,1/4] api: feature: add odp feature bits | expand

Commit Message

Github ODP bot Nov. 6, 2017, 8 p.m. UTC
From: Bill Fischofer <bill.fischofer@linaro.org>


Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>

Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 278 (muvarov:next2)
 ** https://github.com/Linaro/odp/pull/278
 ** Patch: https://github.com/Linaro/odp/pull/278.patch
 ** Base sha: f318c88f26b15140dda243e6a1d27e3c8f9d275b
 ** Merge commit sha: 7b1bdbd556cad7a42550ae18152f2f9281b6930e
 **/
 platform/linux-generic/odp_init.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c
index 92a583702..fe03709b7 100644
--- a/platform/linux-generic/odp_init.c
+++ b/platform/linux-generic/odp_init.c
@@ -25,6 +25,11 @@ 
 
 struct odp_global_data_s odp_global_data;
 
+void odp_init_param_init(odp_init_t *param)
+{
+	memset(param, 0, sizeof(odp_init_t));
+}
+
 int odp_init_global(odp_instance_t *instance,
 		    const odp_init_t *params,
 		    const odp_platform_init_t *platform_params ODP_UNUSED)