From 9cddbd599075619d3d74ca75483f837aa898a93f Mon Sep 17 00:00:00 2001 From: Francois Ramu Date: Wed, 4 Aug 2021 17:24:05 +0200 Subject: [PATCH] include: drivers: dma.h DMA_MAGIC is a 32-bit magic code The magic code to identify context content is a 32-bit value defined in the dma.h. When tested against the dma_context magic element, both format must be aligned. Signed-off-by: Francois Ramu --- include/drivers/dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drivers/dma.h b/include/drivers/dma.h index 344344a498e..8a93544514b 100644 --- a/include/drivers/dma.h +++ b/include/drivers/dma.h @@ -210,7 +210,7 @@ struct dma_status { * */ struct dma_context { - int magic; + int32_t magic; int dma_channels; atomic_t *atomic; };