drivers: dma: dma_mcux_lpx: Added parameter in macro for 55S36
Added a parameter inside the Channel Number macro since the LPC55S36 expects an address rather than a static number. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
dde023fb8a
commit
a50c26d80f
|
@ -777,7 +777,6 @@ static const struct dma_mcux_lpc_config dma_##n##_config = { \
|
||||||
&dma_mcux_lpc_api); \
|
&dma_mcux_lpc_api); \
|
||||||
\
|
\
|
||||||
DMA_MCUX_LPC_CONFIG_FUNC(n) \
|
DMA_MCUX_LPC_CONFIG_FUNC(n) \
|
||||||
\
|
|
||||||
DMA_MCUX_LPC_INIT_CFG(n);
|
DMA_MCUX_LPC_INIT_CFG(n);
|
||||||
|
|
||||||
DT_INST_FOREACH_STATUS_OKAY(DMA_INIT)
|
DT_INST_FOREACH_STATUS_OKAY(DMA_INIT)
|
||||||
|
|
Loading…
Reference in a new issue