diff mbox series

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

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

Commit Message

Bill Fischofer June 13, 2017, 12:55 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)