diff options
Diffstat (limited to 'firmware/target/arm/imx31/dvfs_dptc-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/dvfs_dptc-imx31.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/dvfs_dptc-imx31.c b/firmware/target/arm/imx31/dvfs_dptc-imx31.c index 129e47d55e..6bacc20c10 100644 --- a/firmware/target/arm/imx31/dvfs_dptc-imx31.c +++ b/firmware/target/arm/imx31/dvfs_dptc-imx31.c | |||
@@ -248,7 +248,7 @@ static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void) | |||
248 | 248 | ||
249 | 249 | ||
250 | /* Initialize the DVFS hardware */ | 250 | /* Initialize the DVFS hardware */ |
251 | static void dvfs_init(void) | 251 | static void INIT_ATTR dvfs_init(void) |
252 | { | 252 | { |
253 | if (CCM_PMCR0 & CCM_PMCR0_DVFEN) | 253 | if (CCM_PMCR0 & CCM_PMCR0_DVFEN) |
254 | { | 254 | { |
@@ -514,7 +514,7 @@ static __attribute__((interrupt("IRQ"))) void CCM_CLK_HANDLER(void) | |||
514 | 514 | ||
515 | 515 | ||
516 | /* Initialize the DPTC hardware */ | 516 | /* Initialize the DPTC hardware */ |
517 | static void dptc_init(void) | 517 | static void INIT_ATTR dptc_init(void) |
518 | { | 518 | { |
519 | /* Force DPTC off if running for some reason. */ | 519 | /* Force DPTC off if running for some reason. */ |
520 | imx31_regmod32(&CCM_PMCR0, CCM_PMCR0_PTVAIM, | 520 | imx31_regmod32(&CCM_PMCR0, CCM_PMCR0_PTVAIM, |
@@ -590,7 +590,7 @@ static void dptc_stop(void) | |||
590 | /** Main module interface **/ | 590 | /** Main module interface **/ |
591 | 591 | ||
592 | /* Initialize DVFS and DPTC */ | 592 | /* Initialize DVFS and DPTC */ |
593 | void dvfs_dptc_init(void) | 593 | void INIT_ATTR dvfs_dptc_init(void) |
594 | { | 594 | { |
595 | dptc_init(); | 595 | dptc_init(); |
596 | dvfs_init(); | 596 | dvfs_init(); |