[Engine/ArmPlugin] Fix build error due to incompatible-pointer-types
authorWook Song <wook16.song@samsung.com>
Mon, 29 Jul 2019 06:36:38 +0000 (15:36 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Mon, 29 Jul 2019 09:57:20 +0000 (18:57 +0900)
This patch fixes a build error due to initialization from incompatible
pointer types between the arm_plugin_configure function and the function
pointer, configure, in the inputservice structure.

Signed-off-by: Wook Song <wook16.song@samsung.com>
core/npu-engine/src/ne-armplugin.c

index 092a0c8..c88c9c9 100644 (file)
@@ -286,7 +286,8 @@ arm_plugin_get_status (inputservice *me)
  * @note it's assumed that N4C has already acquired the lock of this input service
  */
 static int
-arm_plugin_configure (inputservice *me, const submodel *m)
+arm_plugin_configure (inputservice *me, const submodel *m,
+    output_ready *cb, n40_data *data)
 {
   inputservice_priv *priv = GET_PRIVATE (me);