mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
x1000: Add INIT_ATTR to various target specific functions
Add INIT_ATTR to some low-hanging fruit in the X1000 code: GPIO init, GPIO initial state tables, clock init, and DMA init. Change-Id: Ia02b20945da1bbed103e2e01eaf60553eb5f72d4
This commit is contained in:
parent
a980d5f869
commit
484a79fcc0
6 changed files with 19 additions and 20 deletions
|
|
@ -64,7 +64,7 @@ typedef struct dma_desc dma_desc;
|
|||
|
||||
typedef void(*dma_cb_func)(int event);
|
||||
|
||||
extern void dma_init(void);
|
||||
extern void dma_init(void) INIT_ATTR;
|
||||
extern void dma_set_callback(int chn, dma_cb_func cb);
|
||||
|
||||
#endif /* __DMA_X1000_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue