summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iaudio')
-rw-r--r--firmware/target/coldfire/iaudio/system-iaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/system-iaudio.c b/firmware/target/coldfire/iaudio/system-iaudio.c
index 565f75aa6d..d934577911 100644
--- a/firmware/target/coldfire/iaudio/system-iaudio.c
+++ b/firmware/target/coldfire/iaudio/system-iaudio.c
@@ -24,6 +24,8 @@
#include "timer.h"
#include "pcf50606.h"
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+
/* Settings for all possible clock frequencies (with properly working timers)
*
* xxx_REFRESH_TIMER below
@@ -113,3 +115,5 @@ void set_cpu_frequency(long frequency)
break;
}
}
+
+#endif /* HAVE_ADJUSTABLE_CPU_FREQ */