summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-03 16:53:33 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-03 16:56:19 -0400
commitc1d4bf290c5e745dc83b31da5dedf5e40a3589e4 (patch)
treede24f07d38feab49b832530d95933c9133b1022f
parentd5167b1221bb89c0241fa9f435a676d5a475e585 (diff)
downloadrockbox-c1d4bf290c5e745dc83b31da5dedf5e40a3589e4.tar.gz
rockbox-c1d4bf290c5e745dc83b31da5dedf5e40a3589e4.tar.bz2
rockbox-c1d4bf290c5e745dc83b31da5dedf5e40a3589e4.zip
coldfire: Fix iAudio M5 build
Change-Id: Iecbcfa16918be3abfaab0936a0dae9c9ed48933e
-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 5a5d2d2350..8162f521f9 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -91,7 +91,7 @@ HW_HAVE_88_([HW_FREQ_88] = { 0x0c, 0x01 },)
*/
static const unsigned char pcm_freq_parms[HW_NUM_FREQ][2] =
{
- [HW_FREQ_88] = { 0x00, 0x01 },
+HW_HAVE_88_([HW_FREQ_88] = { 0x00, 0x01 },)
[HW_FREQ_44] = { 0x00, 0x01 },
[HW_FREQ_22] = { 0x00, 0x01 },
[HW_FREQ_11] = { 0x00, 0x01 },
@@ -102,7 +102,7 @@ static const unsigned char pcm_freq_parms[HW_NUM_FREQ][2] =
#if (CONFIG_CPU == MCF5250 || CONFIG_CPU == MCF5249) && defined(HAVE_TLV320)
static const unsigned char pcm_freq_parms[HW_NUM_FREQ][2] =
{
- [HW_FREQ_88] = { 0x0c, 0x01 },
+HW_HAVE_88_([HW_FREQ_88] = { 0x0c, 0x01 },)
[HW_FREQ_44] = { 0x06, 0x01 },
[HW_FREQ_22] = { 0x04, 0x01 },
[HW_FREQ_11] = { 0x02, 0x02 },