diff mbox series

[API-NEXT,PATCHv4,3/5] linux-generic: init: implement odp_init_param_init()

Message ID 20170612194205.8592-3-bill.fischofer@linaro.org
State Superseded
Headers show
Series [API-NEXT,PATCHv4,1/5] api: feature: add odp feature bits | expand

Commit Message

Bill Fischofer June 12, 2017, 7:42 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>

---
 platform/linux-generic/odp_init.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.11.0
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c
index 31bd7c73..62a1fbc2 100644
--- a/platform/linux-generic/odp_init.c
+++ b/platform/linux-generic/odp_init.c
@@ -147,6 +147,11 @@  static int read_configfile(void)
 	return 0;
 }
 
+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)