diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c index bece976ab9..79f3eccc6b 100644 --- a/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c | |||
@@ -37,7 +37,7 @@ static __attribute__((interrupt("IRQ"))) void EPIT1_HANDLER(void) | |||
37 | call_tick_tasks(); | 37 | call_tick_tasks(); |
38 | } | 38 | } |
39 | 39 | ||
40 | void tick_start(unsigned int interval_in_ms) | 40 | void INIT_ATTR tick_start(unsigned int interval_in_ms) |
41 | { | 41 | { |
42 | ccm_module_clock_gating(CG_EPIT1, CGM_ON_RUN_WAIT); /* EPIT1 module | 42 | ccm_module_clock_gating(CG_EPIT1, CGM_ON_RUN_WAIT); /* EPIT1 module |
43 | clock ON - before writing | 43 | clock ON - before writing |
@@ -65,7 +65,7 @@ void tick_start(unsigned int interval_in_ms) | |||
65 | EPITCR1 |= EPITCR_EN; /* Enable the counter */ | 65 | EPITCR1 |= EPITCR_EN; /* Enable the counter */ |
66 | } | 66 | } |
67 | 67 | ||
68 | void kernel_device_init(void) | 68 | void INIT_ATTR kernel_device_init(void) |
69 | { | 69 | { |
70 | sdma_init(); | 70 | sdma_init(); |
71 | spi_init(); | 71 | spi_init(); |