Skip to content

Commit

Permalink
dma/imx6ull-sdma: fix handle type in sdma_init
Browse files Browse the repository at this point in the history
  • Loading branch information
lukileczo committed Feb 5, 2024
1 parent bed6093 commit 6cef373
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 6cef373

Please sign in to comment.