bsps/xqspipsu: Avoid function casting

This commit is contained in:
Kinsey Moore
2026-04-22 07:21:54 -05:00
parent 987fd6f834
commit 25d99a6e5e
+6 -1
View File
@@ -1489,6 +1489,11 @@ static u32 GetRealAddr(
return(RealAddr);
}
static void interrupt_handler_wrapper(void *arg)
{
(void) XQspiPsu_InterruptHandler(arg);
}
/*****************************************************************************/
/**
*
@@ -1512,7 +1517,7 @@ static int QspiPsuSetupIntrSystem(
QspiPsuIntrId,
NULL,
RTEMS_INTERRUPT_UNIQUE,
(rtems_interrupt_handler) XQspiPsu_InterruptHandler,
interrupt_handler_wrapper,
QspiPsuInstancePtr
);
}