Skip to content

Commit

Permalink
platform: posix: dma: place api in iterable section
Browse files Browse the repository at this point in the history
this commit refactors dma_driver_api in iterable_section

Signed-off-by: Jilay Pandya <[email protected]>
  • Loading branch information
jilaypandya committed Dec 4, 2024
1 parent 26782ab commit 52db692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/posix/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static int pzdma_init(const struct device *dev)

/* Zephyr device definition */

static const struct dma_driver_api pzdma_api = {
static DEVICE_API(dma, pzdma_api) = {
.config = pzdma_config,
.reload = pzdma_reload,
.start = pzdma_start,
Expand Down

0 comments on commit 52db692

Please sign in to comment.