From 522ae6e39ac9faea768ab5e720d7e39cdb129f4f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 27 Oct 2006 10:51:34 +0000 Subject: kill two gigabeat warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11359 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h | 22 ++++++++++++++++++++++ .../target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c | 1 + 2 files changed, 23 insertions(+) create mode 100644 firmware/target/arm/gigabeat/meg-fx/i2c-meg-fx.h (limited to 'firmware/target/arm/gigabeat/meg-fx') 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 */ -- cgit v1.2.3