mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 12:41:34 +00:00
bsps/powerpc/include/bsp/VMEDMA.h: Fix function cast warnings.
This changes the signature of the VMEBus DMA IRQ Callback type (BSP_VMEDmaIRQCallback) to match that expected by BSP_installVME_isr() when the callback is installed.
This commit is contained in:
committed by
Gedare Bloom
parent
9a55909e09
commit
485e0b2b79
@@ -200,7 +200,7 @@ BSP_VMEDmaStatus(int channel);
|
|||||||
* RETURNS: 0 on success, nonzero on failure (IRQ in use, unsupported
|
* RETURNS: 0 on success, nonzero on failure (IRQ in use, unsupported
|
||||||
* channel).
|
* channel).
|
||||||
*/
|
*/
|
||||||
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg);
|
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uint32_t vector);
|
||||||
|
|
||||||
int
|
int
|
||||||
BSP_VMEDmaInstallISR(int channel, BSP_VMEDmaIRQCallback cb, void *usr_arg);
|
BSP_VMEDmaInstallISR(int channel, BSP_VMEDmaIRQCallback cb, void *usr_arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user