drivers: sam0: Fix deprecated instance macro usage
During conversion in #16815 a few device tree instance macro aliases where missed (probably due to them existing to support future SoCs and so not currently compiled), this fixes their usage. Signed-off-by: Derek Hageman <hageman@inthat.cloud>
This commit is contained in:
parent
4c27e5b72e
commit
59786b43b3
2 changed files with 19 additions and 19 deletions
|
@ -430,16 +430,16 @@ static int dma_sam0_init(struct device *dev)
|
|||
#ifdef DT_INST_0_ATMEL_SAM0_DMAC_IRQ_0
|
||||
DMA_SAM0_IRQ_CONNECT(0);
|
||||
#endif
|
||||
#ifdef DT_ATMEL_SAM0_DMAC_0_IRQ_1
|
||||
#ifdef DT_INST_0_ATMEL_SAM0_DMAC_IRQ_1
|
||||
DMA_SAM0_IRQ_CONNECT(1);
|
||||
#endif
|
||||
#ifdef DT_ATMEL_SAM0_DMAC_0_IRQ_2
|
||||
#ifdef DT_INST_0_ATMEL_SAM0_DMAC_IRQ_2
|
||||
DMA_SAM0_IRQ_CONNECT(2);
|
||||
#endif
|
||||
#ifdef DT_ATMEL_SAM0_DMAC_0_IRQ_3
|
||||
#ifdef DT_INST_0_ATMEL_SAM0_DMAC_IRQ_3
|
||||
DMA_SAM0_IRQ_CONNECT(3);
|
||||
#endif
|
||||
#ifdef DT_ATMEL_SAM0_DMAC_0_IRQ_4
|
||||
#ifdef DT_INST_0_ATMEL_SAM0_DMAC_IRQ_4
|
||||
DMA_SAM0_IRQ_CONNECT(4);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue