Skip to content

Commit 0e023de

Browse files
committed
platform: posix: dma: place api in iterable section
this commit refactors dma_driver_api in iterable_section Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
1 parent 8eb05fa commit 0e023de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/posix/dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int pzdma_init(const struct device *dev)
154154

155155
/* Zephyr device definition */
156156

157-
static const struct dma_driver_api pzdma_api = {
157+
static DEVICE_API(dma, pzdma_api) = {
158158
.config = pzdma_config,
159159
.reload = pzdma_reload,
160160
.start = pzdma_start,

0 commit comments

Comments
 (0)