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 <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-08-04 17:24:05 +02:00 committed by Anas Nashif
commit 9cddbd5990

View file

@ -210,7 +210,7 @@ struct dma_status {
* *
*/ */
struct dma_context { struct dma_context {
int magic; int32_t magic;
int dma_channels; int dma_channels;
atomic_t *atomic; atomic_t *atomic;
}; };