mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-18 18:39:35 +08:00
bsps/xqspipsu: Avoid function casting
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user