summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/iriver/h100/backlight-h100.c2
-rw-r--r--firmware/target/coldfire/iriver/h300/backlight-h300.c1
-rw-r--r--firmware/target/coldfire/pcf50606-coldfire.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iriver/h100/backlight-h100.c b/firmware/target/coldfire/iriver/h100/backlight-h100.c
index 1b61f31ea4..47c02cb351 100644
--- a/firmware/target/coldfire/iriver/h100/backlight-h100.c
+++ b/firmware/target/coldfire/iriver/h100/backlight-h100.c
@@ -21,9 +21,9 @@
21#include "config.h" 21#include "config.h"
22#include "cpu.h" 22#include "cpu.h"
23#include "kernel.h" 23#include "kernel.h"
24#include "thread.h"
25#include "system.h" 24#include "system.h"
26#include "backlight.h" 25#include "backlight.h"
26#include "backlight-target.h"
27#include "lcd.h" 27#include "lcd.h"
28 28
29/* Returns the current state of the backlight (true=ON, false=OFF). */ 29/* Returns the current state of the backlight (true=ON, false=OFF). */
diff --git a/firmware/target/coldfire/iriver/h300/backlight-h300.c b/firmware/target/coldfire/iriver/h300/backlight-h300.c
index 7f63e75976..64e09b9b40 100644
--- a/firmware/target/coldfire/iriver/h300/backlight-h300.c
+++ b/firmware/target/coldfire/iriver/h300/backlight-h300.c
@@ -24,6 +24,7 @@
24#include "thread.h" 24#include "thread.h"
25#include "system.h" 25#include "system.h"
26#include "backlight.h" 26#include "backlight.h"
27#include "backlight-target.h"
27#include "pcf50606.h" 28#include "pcf50606.h"
28#include "lcd.h" 29#include "lcd.h"
29 30
diff --git a/firmware/target/coldfire/pcf50606-coldfire.c b/firmware/target/coldfire/pcf50606-coldfire.c
index 03c22a12e9..6206ae4deb 100644
--- a/firmware/target/coldfire/pcf50606-coldfire.c
+++ b/firmware/target/coldfire/pcf50606-coldfire.c
@@ -447,7 +447,7 @@ unsigned char pcf50606_i2c_inb(bool ack)
447 return byte; 447 return byte;
448} 448}
449 449
450int pcf50606_i2c_write(int address, const unsigned char* buf, int count) 450static int pcf50606_i2c_write(int address, const unsigned char* buf, int count)
451{ 451{
452 int i,x=0; 452 int i,x=0;
453 453