summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c b/firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c
index 7c608c172d..54ddaa7a46 100644
--- a/firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/i2c-imx31.c
@@ -19,6 +19,7 @@
19#include "system.h" 19#include "system.h"
20#include "i2c-imx31.h" 20#include "i2c-imx31.h"
21 21
22#if 0
22static int i2c_getack(void) 23static int i2c_getack(void)
23{ 24{
24 return 0; 25 return 0;
@@ -38,11 +39,12 @@ static int i2c_outb(unsigned char byte)
38 (void)byte; 39 (void)byte;
39 return 0; 40 return 0;
40} 41}
42#endif
41 43
42void i2c_write(int addr, const unsigned char *buf, int count) 44void i2c_write(int addr, const unsigned char *buf, int count)
43{ 45{
44 (void)addr; 46 (void)addr;
45 (void)*buf; 47 (void)buf;
46 (void)count; 48 (void)count;
47} 49}
48 50