diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-05-01 01:26:22 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-05-01 01:28:50 -0400 |
commit | b4eec0dd420aa6982dcdcce794bcaa4a6dac8ef5 (patch) | |
tree | 30883b2ca392a31e70812e2164cc348e22840ed5 /lib/rbcodec/dsp | |
parent | 87d3dde15a1f0af6eaac21107d74aa240515fd0c (diff) | |
download | rockbox-b4eec0dd420aa6982dcdcce794bcaa4a6dac8ef5.tar.gz rockbox-b4eec0dd420aa6982dcdcce794bcaa4a6dac8ef5.zip |
Make INITDATA_ATTR work on everything that has INIT_ATTR enabled for code.
Change-Id: If9936bfbbd3bc3eb2a3e3e290701b8517eabfb13
Diffstat (limited to 'lib/rbcodec/dsp')
-rw-r--r-- | lib/rbcodec/dsp/dsp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/dsp/dsp_core.c b/lib/rbcodec/dsp/dsp_core.c index 4a7c478e46..44e53eb891 100644 --- a/lib/rbcodec/dsp/dsp_core.c +++ b/lib/rbcodec/dsp/dsp_core.c @@ -528,7 +528,7 @@ bool dsp_is_busy(const struct dsp_config *dsp) * Must be done before changing settings for the first time. */ void INIT_ATTR dsp_init(void) { - static const uint8_t slot_count[DSP_COUNT] /* INITDATA_ATTR */ = + static const uint8_t slot_count[DSP_COUNT] INITDATA_ATTR = { [CODEC_IDX_AUDIO] = DSP_NUM_PROC_STAGES, [CODEC_IDX_VOICE] = DSP_VOICE_NUM_PROC_STAGES |