summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/pcm-coldfire.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/pcm-coldfire.c')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index 2614946543..fbab046b70 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -119,7 +119,7 @@ void pcm_set_frequency(unsigned int frequency)
119} /* pcm_set_frequency */ 119} /* pcm_set_frequency */
120 120
121/* apply audio settings */ 121/* apply audio settings */
122bool _pcm_apply_settings(bool clear_reset) 122static bool _pcm_apply_settings(bool clear_reset)
123{ 123{
124 bool did_reset = false; 124 bool did_reset = false;
125 unsigned long iis_play_defparm = IIS_PLAY_DEFPARM; 125 unsigned long iis_play_defparm = IIS_PLAY_DEFPARM;
@@ -154,7 +154,7 @@ bool _pcm_apply_settings(bool clear_reset)
154} /* _pcm_apply_settings */ 154} /* _pcm_apply_settings */
155 155
156/* apply audio setting with all DMA interrupts disabled */ 156/* apply audio setting with all DMA interrupts disabled */
157void _pcm_apply_settings_irq_lock(bool clear_reset) 157static void _pcm_apply_settings_irq_lock(bool clear_reset)
158{ 158{
159 int level = set_irq_level(DMA_IRQ_LEVEL); 159 int level = set_irq_level(DMA_IRQ_LEVEL);
160 _pcm_apply_settings(clear_reset); 160 _pcm_apply_settings(clear_reset);