summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/pcm-coldfire.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-03 21:33:00 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-03 21:33:00 +0000
commit19425909c3e19b3733b13fefc2a2aa88fb9f1d61 (patch)
treeb027f3545b048ab9ec18ad65b0a71c53434e449f /firmware/target/coldfire/pcm-coldfire.c
parente243db65b41c967ae8e7ef4cd946a2cdf7c6a19e (diff)
downloadrockbox-19425909c3e19b3733b13fefc2a2aa88fb9f1d61.tar.gz
rockbox-19425909c3e19b3733b13fefc2a2aa88fb9f1d61.zip
Another round of making local functions static and making sure that source files are in sync with their header files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17337 a1c6a512-1295-4272-9138-f99709370657
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);