diff options
Diffstat (limited to 'firmware/target/coldfire/iriver/fmradio_i2c-iriver.c')
-rw-r--r-- | firmware/target/coldfire/iriver/fmradio_i2c-iriver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iriver/fmradio_i2c-iriver.c b/firmware/target/coldfire/iriver/fmradio_i2c-iriver.c index 16a58910ac..cd64097fc0 100644 --- a/firmware/target/coldfire/iriver/fmradio_i2c-iriver.c +++ b/firmware/target/coldfire/iriver/fmradio_i2c-iriver.c @@ -23,6 +23,7 @@ #include "cpu.h" #include "logf.h" #include "system.h" +#include "fmradio_i2c.h" #if (CONFIG_TUNER & TEA5767) @@ -193,7 +194,7 @@ static unsigned char fmradio_i2c_inb(void) return byte; } -int fmradio_i2c_write(int address, const unsigned char* buf, int count) +int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) { int i,x=0; @@ -220,7 +221,7 @@ int fmradio_i2c_write(int address, const unsigned char* buf, int count) return x; } -int fmradio_i2c_read(int address, unsigned char* buf, int count) +int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count) { int i,x=0; |