QNX IPC: Vayu - Fix Compile Warnings
authorAngela Stegmaier <angelabaker@ti.com>
Wed, 29 May 2013 15:31:10 +0000 (10:31 -0500)
committerChris Ring <cring@ti.com>
Thu, 6 Jun 2013 00:05:00 +0000 (17:05 -0700)
This patch fixes the following compilation warnings:

qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/vayucore1/VAYUIpuCore1HalReset.c:
In function 'VAYUIPUCORE1_halResetCtrl':
qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/vayucore1/VAYUIpuCore1HalReset.c:108:
warning: unused variable 'counter'

qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/VAYUIpuPwr.c:
In function 'VAYUIPUPWR_on':
qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/VAYUIpuPwr.c:1091:
warning: implicit declaration of function 'VAYUIPUMMU_enable'
qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/VAYUIpuPwr.c:
In function 'VAYUIPUPWR_off':
qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/VAYUIpuPwr.c:1156:
warning: implicit declaration of function 'VAYUIPUMMU_disable'

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
qnx/src/ipc3x_dev/ti/syslink/family/common/vayu/vayuipu/vayucore1/VAYUIpuCore1HalReset.c
qnx/src/ipc3x_dev/ti/syslink/inc/knl/Qnx/VAYUIpuMmu.h

index 9aefe4a6a607e430a6a24258495a485488aa6cae..3bd4f7b69e98a113792165853c305a420f17aeeb 100644 (file)
@@ -105,7 +105,6 @@ VAYUIPUCORE1_halResetCtrl (Ptr halObj, Processor_ResetCtrlCmd cmd)
     UInt32              cmBase;
     UInt32              prmBase;
     UInt32              reg       = 0;
-    UInt32              counter   = 10;
 
     GT_2trace (curTrace, GT_ENTER, "VAYUIPUCORE1_halResetCtrl", halObj, cmd);
 
index 8bc8ab619274241d5b0c38d33fc75f388db2cb0d..65949e3b2b6f9ce9cb761ca06133e46adc769999 100644 (file)
@@ -1,5 +1,5 @@
 /**
- *  @file   VAYUBenelliMmu.h
+ *  @file   VAYUIpuMmu.h
  *
  *  @brief      Hardware abstraction for Memory Management Unit module.
  *
@@ -49,8 +49,8 @@
  */
 
 
-#ifndef VAYUBENELLIMMU_H_0xbbec
-#define VAYUBENELLIMMU_H_0xbbec
+#ifndef VAYUIPUMMU_H_0xbbec
+#define VAYUIPUMMU_H_0xbbec
 
 
 
@@ -63,12 +63,12 @@ extern "C" {
  * =============================================================================
  */
 /* Function to control MMU operations for this slave device. */
-Void VAYUBENELLIMMU_enable(PwrMgr_Handle handle);
+Void VAYUIPUMMU_enable(PwrMgr_Handle handle);
 /* Function to control MMU operations for this slave device. */
-Void VAYUBENELLIMMU_disable(PwrMgr_Handle handle);
+Void VAYUIPUMMU_disable(PwrMgr_Handle handle);
 
 #if defined (__cplusplus)
 }
 #endif /* defined (__cplusplus) */
 
-#endif /* VAYUBENELLIMMU_H_0xbbec */
+#endif /* VAYUIPUMMU_H_0xbbec */