diff options
Diffstat (limited to 'firmware/target/arm/as3525/dma-target.h')
-rw-r--r-- | firmware/target/arm/as3525/dma-target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/dma-target.h b/firmware/target/arm/as3525/dma-target.h index 00897fa070..a64055984d 100644 --- a/firmware/target/arm/as3525/dma-target.h +++ b/firmware/target/arm/as3525/dma-target.h | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "config.h" /* for INIT_ATTR */ | ||
22 | #include <stdbool.h> | 23 | #include <stdbool.h> |
23 | #include <stdlib.h> | 24 | #include <stdlib.h> |
24 | 25 | ||
@@ -32,7 +33,7 @@ | |||
32 | #define DMA_PERI_SD 5 /* embedded storage */ | 33 | #define DMA_PERI_SD 5 /* embedded storage */ |
33 | #define DMA_PERI_DBOP 8 | 34 | #define DMA_PERI_DBOP 8 |
34 | 35 | ||
35 | void dma_init(void); | 36 | void dma_init(void) INIT_ATTR; |
36 | void dma_enable_channel(int channel, void *src, void *dst, int peri, | 37 | void dma_enable_channel(int channel, void *src, void *dst, int peri, |
37 | int flow_controller, bool src_inc, bool dst_inc, | 38 | int flow_controller, bool src_inc, bool dst_inc, |
38 | size_t size, int nwords, void (*callback)(void)); | 39 | size_t size, int nwords, void (*callback)(void)); |