summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-27 10:51:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-27 10:51:34 +0000
commit522ae6e39ac9faea768ab5e720d7e39cdb129f4f (patch)
treead9d24c2b7d07151b9173001624a56d491fc2d0d
parent2ede2a79e6c44d1c33dec254dd5218f32c8e34ef (diff)
downloadrockbox-522ae6e39ac9faea768ab5e720d7e39cdb129f4f.tar.gz
rockbox-522ae6e39ac9faea768ab5e720d7e39cdb129f4f.tar.bz2
rockbox-522ae6e39ac9faea768ab5e720d7e39cdb129f4f.zip
kill two gigabeat warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11359 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/pcm_playback.c6
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h22
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c1
3 files changed, 29 insertions, 0 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 7382661f48..cd14f123d1 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -68,6 +68,12 @@ void pcm_init(void)
}
+static void dma_start(const void *addr, size_t size)
+{
+ (void)addr;
+ (void)size;
+}
+
void pcm_set_frequency(unsigned int frequency)
{
(void)frequency;
diff --git a/firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h b/firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h
new file mode 100644
index 0000000000..cf69230487
--- /dev/null
+++ b/firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h
@@ -0,0 +1,22 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2006 by Linus Nielsen Feltzing
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+/* chip-specific i2c functions */
+
+void i2c_send(int bus_address, int reg_address, const unsigned char buf);
diff --git a/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c
index a793f5a1f4..20c8e9a8e7 100644
--- a/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c
@@ -37,6 +37,7 @@
#include "buffer.h"
#include "audio.h"
#include "i2c.h"
+#include "i2c-meg-fx.h"
/*
* Reset the I2S BIT.FORMAT I2S, 16bit, FIFO.FORMAT 32bit
*/