summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2015-10-21 10:46:23 -0500
committerVishal Mahaveer <vishalm@ti.com>2015-10-21 11:07:58 -0500
commit5329a82024e47f1a817e21164f9a29a07aefbd5f (patch)
tree37a3312716d1f0c77e15d43a9a55e57417896bbe
parenta1da91cc70bec1b78b123197e939823d16e94cbf (diff)
downloaddra7xx-d-marshmallow-release.tar.gz
dra7xx: omx: fix definition of OMX_DIO_Registered tabled-marshmallow-release
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 <vishalm@ti.com>
-rw-r--r--omx/base/omx_base_dio_plugin/inc/omx_base_dio_plugin.h2
1 files changed, 1 insertions, 1 deletions
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