fixed build warning
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / drv / sample / src / platforms / sample_c6a811x_arm_int_reg.c
old mode 100644 (file)
new mode 100755 (executable)
index cfe79b4..a56afb9
@@ -48,7 +48,7 @@
   * (Not all TC error ISRs need to be registered, register only for the
   * available Transfer Controllers).
   */
-void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(unsigned int arg) =
+void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(uint32_t arg) =
                                                 {
                                                 &lisrEdma3TC0ErrHandler0,
                                                 &lisrEdma3TC1ErrHandler0,
@@ -157,9 +157,9 @@ void registerEdma3Interrupts (unsigned int edma3Id)
        //hwiParams.priority = hwIntXferComp[edma3Id];
     
     hwiCCXferCompInt = Hwi_create( ccXferCompInt[edma3Id][dsp_num],
-                                       (&lisrEdma3ComplHandler0),
-                                       (const Hwi_Params *) (&hwiParams),
-                                       &eb);
+                            ((Hwi_FuncPtr)&lisrEdma3ComplHandler0),
+                            (const Hwi_Params *) (&hwiParams),
+                            &eb);
     if (TRUE == Error_check(&eb))
     {
         System_printf("HWI Create Failed\n",Error_getCode(&eb));
@@ -173,7 +173,7 @@ void registerEdma3Interrupts (unsigned int edma3Id)
        hwiParams.priority = hwIntCcErr[edma3Id];
        
        hwiCCErrInt = Hwi_create( ccErrorInt[edma3Id],
-                (&lisrEdma3CCErrHandler0),
+                ((Hwi_FuncPtr)&lisrEdma3CCErrHandler0),
                 (const Hwi_Params *) (&hwiParams),
                 &eb);
 
@@ -192,7 +192,7 @@ void registerEdma3Interrupts (unsigned int edma3Id)
         hwiParams.priority = hwIntTcErr[edma3Id];
         
         hwiTCErrInt[numTc] = Hwi_create( tcErrorInt[edma3Id][numTc],
-                    (ptrEdma3TcIsrHandler[numTc]),
+                    ((Hwi_FuncPtr)ptrEdma3TcIsrHandler[numTc]),
                     (const Hwi_Params *) (&hwiParams),
                     &eb);
         if (TRUE == Error_check(&eb))
@@ -347,9 +347,9 @@ EDMA3_DRV_Result sampleInitXbarEvt(EDMA3_DRV_Handle hEdma,
     if (hEdma != NULL)
         {
         retVal = EDMA3_DRV_initXbarEventMap(hEdma, 
-                                                                       sampleXbarToChanConfig, 
-                                                                       &sampleMapXbarEvtToChan, 
-                                                                       &sampleConfigScr);
+                                            sampleXbarToChanConfig,
+                                            (EDMA3_DRV_mapXbarEvtToChan)&sampleMapXbarEvtToChan,
+                                            (EDMA3_DRV_xbarConfigScr)&sampleConfigScr);
         }
     
     return retVal;