From 0e023dee883e895045a85fe171e783703b070ae6 Mon Sep 17 00:00:00 2001 From: Jilay Pandya <126553325+jilaypandya@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:37:01 +0000 Subject: [PATCH] platform: posix: dma: place api in iterable section this commit refactors dma_driver_api in iterable_section Signed-off-by: Jilay Pandya --- src/platform/posix/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/posix/dma.c b/src/platform/posix/dma.c index 37f9ebdff0ac..0e5faa92556b 100644 --- a/src/platform/posix/dma.c +++ b/src/platform/posix/dma.c @@ -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,