Pass the buffer length to the list_get_name callback functions instead of using hardc...
[Rockbox.git] / firmware / target / arm / tms320dm320 / i2c-dm320.c
blob4ca5eb7118ff6f63030febd5d67db838469d99f1
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Karl Kurbjun
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #include "system.h"
20 #include "i2c-dm320.h"
22 #if 0
23 static int i2c_getack(void)
25 return 0;
28 static int i2c_start(void)
30 return 0;
33 static void i2c_stop(void)
38 static int i2c_outb(unsigned char byte)
40 (void) byte;
41 return 0;
43 #endif
45 void i2c_write(int addr, const unsigned char *buf, int count)
47 (void) addr;
48 (void) buf;
49 (void) count;
52 void i2c_init(void)