Skip to content

Commit

Permalink
dma: imx6ull, imxrt: fix handle type in sdma_init
Browse files Browse the repository at this point in the history
JIRA: RTOS-125
  • Loading branch information
lukileczo authored and agkaminski committed Feb 7, 2024
1 parent 1d16afd commit ac27d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dma/imx6ull-sdma/imx6ull-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ static void sdma_init_channel0(void)
static int sdma_init(void)
{
int res;
unsigned handle;
handle_t handle;

const addr_t sdma_paddr = 0x20ec000;
common.regs = mmap(NULL, _PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_DEVICE | MAP_PHYSMEM | MAP_ANONYMOUS, -1, sdma_paddr);
Expand Down
2 changes: 1 addition & 1 deletion dma/imxrt-edma/imxrt-edma.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ int edma_init(int (*error_isr)(unsigned int n, void *arg))
}

/* Install error interrupts handler */
unsigned handle;
handle_t handle;
interrupt(EDMA_ERROR_IRQ, error_isr, NULL, 0, &handle);

if (init) {
Expand Down

0 comments on commit ac27d41

Please sign in to comment.