mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 14:49:54 +08:00
bsps/powerpc/include/bsp/VMEDMA.h: Address cast-function-type warning
This warning occurs when casting a function pointer to be a function of a different type.
This commit is contained in:
@@ -200,7 +200,7 @@ BSP_VMEDmaStatus(int channel);
|
||||
* RETURNS: 0 on success, nonzero on failure (IRQ in use, unsupported
|
||||
* channel).
|
||||
*/
|
||||
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uint32_t vector);
|
||||
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uintptr_t vector);
|
||||
|
||||
int
|
||||
BSP_VMEDmaInstallISR(int channel, BSP_VMEDmaIRQCallback cb, void *usr_arg);
|
||||
|
||||
Reference in New Issue
Block a user