From 5329a82024e47f1a817e21164f9a29a07aefbd5f Mon Sep 17 00:00:00 2001 From: Vishal Mahaveer Date: Wed, 21 Oct 2015 10:46:23 -0500 Subject: dra7xx: omx: fix definition of OMX_DIO_Registered table OMX_DIO_Registered table is declared twice in omx_base_dio_table.c and omx_base_dio_plugin.h. It is initialized in omx_base_dio_table.c, so fix the definition of OMX_DIO_Registered table in include file to access the same one instead of redefining it. Change-Id: Ie87a5eb250cab6ec06b0992e1b46af4260beec46 Signed-off-by: Vishal Mahaveer --- omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h b/omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h index 58baf69..3059afe 100644 --- a/omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h +++ b/omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h @@ -78,7 +78,7 @@ typedef struct OMX_DIO_Register { OMX_DIO_Init pInitialize; }OMX_DIO_Register; -OMX_DIO_Register OMX_DIO_Registered[2]; +extern OMX_DIO_Register OMX_DIO_Registered[2]; /* * The OMX_DIO_CtrlCmd_TYPE : This enumeration is used to * specify the action in the -- cgit v1.2.3