Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx9/edma: Fix function prototypes #13399

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions arch/arm64/src/imx9/imx9_edma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ void imx9_dmach_free(DMACH_HANDLE handle)
*
****************************************************************************/

int imx9_dmach_xfrsetup(DMACH_HANDLE *handle,
int imx9_dmach_xfrsetup(DMACH_HANDLE handle,
const struct imx9_edma_xfrconfig_s *config)
{
struct imx9_dmach_s *dmach = (struct imx9_dmach_s *)handle;
Expand Down Expand Up @@ -1336,7 +1336,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle)
*
****************************************************************************/

unsigned int imx9_dmach_getcount(DMACH_HANDLE *handle)
unsigned int imx9_dmach_getcount(DMACH_HANDLE handle)
{
struct imx9_dmach_s *dmach = (struct imx9_dmach_s *)handle;
uintptr_t base = IMX9_EDMA_TCD(dmach->base, dmach->chan);
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/src/imx9/imx9_edma.h
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ void imx9_dmach_free(DMACH_HANDLE handle);
*
****************************************************************************/

int imx9_dmach_xfrsetup(DMACH_HANDLE *handle,
int imx9_dmach_xfrsetup(DMACH_HANDLE handle,
const struct imx9_edma_xfrconfig_s *config);

/****************************************************************************
Expand Down Expand Up @@ -429,7 +429,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle);
*
****************************************************************************/

unsigned int imx9_dmach_getcount(DMACH_HANDLE *handle);
unsigned int imx9_dmach_getcount(DMACH_HANDLE handle);

/****************************************************************************
* Name: imx9_dmach_idle
Expand Down
Loading