Define empty macros for cpu boosting on targets with no such a feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7412 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index cce7c4e..629f969 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -33,8 +33,13 @@
int pcmbuf_num_used_buffers(void);
void pcmbuf_set_watermark(int numbytes, void (*callback)(int bytes_left));
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
void pcmbuf_boost(bool state);
void pcmbuf_set_boost_mode(bool state);
+#else
+#define pcmbuf_boost(state) do { } while(0)
+#define pcmbuf_set_boost_mode(state) do { } while(0)
+#endif
bool pcmbuf_is_lowdata(void);
void pcmbuf_flush_audio(void);
void pcmbuf_play_start(void);